debian/rules
- Cleanup clean target. - Rebuild control files in setup and clean target. svn path=/dists/trunk/linux-2.6/; revision=4616
This commit is contained in:
parent
9c546007ac
commit
0380207472
|
@ -11,7 +11,7 @@ MAJOR := $(word 1,$(subst ., ,$(VERSION))).$(word 2,$(subst ., ,$(VERSION)))
|
|||
|
||||
include debian/rules.defs
|
||||
|
||||
setup: $(STAMPS_DIR)/setup-stamp
|
||||
setup: debian/control $(STAMPS_DIR)/setup-stamp
|
||||
$(STAMPS_DIR)/setup-stamp: $(BUILD_DIR) $(STAMPS_DIR)
|
||||
dh_testdir
|
||||
$(MAKE) -f debian/rules.gen setup-$(DEB_HOST_ARCH)
|
||||
|
@ -41,11 +41,9 @@ orig: ../orig/linux-$(MAJOR)-$(VERSION)
|
|||
maintainerclean:
|
||||
rm -rf $(filter-out debian, $(wildcard *))
|
||||
|
||||
clean: unpatch
|
||||
clean: debian/control
|
||||
dh_testdir
|
||||
rm -f version.Debian
|
||||
cd debian; rm -f *.kpatches.arch
|
||||
rm -rf $(BUILD_DIR) $(STAMPS_DIR) debian/lib/python/*.pyc
|
||||
rm -rf $(BUILD_DIR) $(STAMPS_DIR) debian/lib/python/*.pyc debian/*.kpatches.arch
|
||||
dh_clean
|
||||
|
||||
binary-indep: build
|
||||
|
@ -85,4 +83,4 @@ debian/control-real: debian/bin/gencontrol.py $(CONTROL_FILES)
|
|||
@echo
|
||||
exit 1
|
||||
|
||||
.PHONY: clean build setup binary-indep binary-arch binary patch unpatch source tree
|
||||
.PHONY: clean build setup binary-indep binary-arch binary
|
||||
|
|
Loading…
Reference in New Issue