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:
Bastian Blank 2008-11-29 20:00:56 +00:00
parent f9b772b804
commit 606e13be00
3 changed files with 3 additions and 3 deletions

2
debian/rules vendored
View File

@ -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 \

2
debian/rules.real vendored
View File

@ -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)

View File

@ -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"; \