1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
systemd/klibc/Makefile

24 lines
478 B
Makefile
Raw Normal View History

2003-12-17 11:22:55 +03:00
VERSION := $(shell cat version)
SUBDIRS = klibc
2005-04-27 07:59:47 +04:00
all:
2003-12-17 11:22:55 +03: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 11:22:55 +03: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