debian/rules, debian/rules.real, src/Makefile.inc:
Proper mark rules which calls submake. svn path=/dists/trunk/linux-kbuild-2.6/; revision=12464
This commit is contained in:
parent
f9b772b804
commit
606e13be00
|
@ -54,7 +54,7 @@ binary: binary-indep binary-arch
|
|||
|
||||
CONTROL_FILES = debian/changelog $(wildcard debian/templates/control.*)
|
||||
debian/control debian/rules.gen: debian/bin/gencontrol.py $(CONTROL_FILES)
|
||||
if [ -f debian/control.md5sum ]; then \
|
||||
+if [ -f debian/control.md5sum ]; then \
|
||||
if md5sum $^ | diff - debian/control.md5sum > /dev/null; then true; else \
|
||||
$(MAKE) -f debian/rules debian/control-real; \
|
||||
fi \
|
||||
|
|
|
@ -11,7 +11,7 @@ $(STAMPS_DIR)/build:
|
|||
rm -rf '$(DIR)'
|
||||
mkdir -p '$(DIR)'
|
||||
cp -al src/* '$(DIR)'
|
||||
make -C $(DIR) top_srcdir=$(CURDIR)
|
||||
$(MAKE) -C $(DIR) top_srcdir=$(CURDIR)
|
||||
touch '$@'
|
||||
|
||||
install-kbuild: PACKAGE_NAME = linux-kbuild-$(VERSION)
|
||||
|
|
|
@ -9,7 +9,7 @@ all: all-local all-recursive
|
|||
install: install-local install-recursive
|
||||
|
||||
all-recursive install-recursive:
|
||||
@target=$(shell echo $@ | sed s/-recursive//); \
|
||||
+@target=$(shell echo $@ | sed s/-recursive//); \
|
||||
list='$(SUBDIRS)'; \
|
||||
for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
|
|
Loading…
Reference in New Issue