1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-14 16:58:22 +03:00

24 lines
495 B
Makefile
Raw Permalink Normal View History

2003-12-17 00:22:55 -08:00
VERSION := $(shell cat version)
SUBDIRS = klibc
2005-04-26 20:59:47 -07:00
all:
2003-12-17 00:22:55 -08:00
rpmbuild = $(shell which rpmbuild 2>/dev/null || which rpm)
klibc.spec: klibc.spec.in version
sed -e 's/@@VERSION@@/$(VERSION)/g' < $< > $@
.PHONY: rpm
rpm: klibc.spec
2004-10-05 18:32:12 -07:00
+$(rpmbuild) -bb klibc.spec --target=$(ARCH)
2003-12-17 00:22:55 -08:00
%:
@set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
2003-12-17 00:22:55 -08:00
clean:
@set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
spotless:
@set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
rm -f klibc.spec *~ tags