1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-15 18:50:12 +03:00

24 lines
478 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
+$(rpmbuild) -bb klibc.spec
%:
@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