[Pkg-xen-changes] r285 - trunk/xen-common/debian

Bastian Blank waldi at costa.debian.org
Sun Aug 27 17:50:52 UTC 2006


Author: waldi
Date: Sun Aug 27 17:50:51 2006
New Revision: 285

Modified:
   trunk/xen-common/debian/rules

Log:
debian/rules: Clean correct things.


Modified: trunk/xen-common/debian/rules
==============================================================================
--- trunk/xen-common/debian/rules	(original)
+++ trunk/xen-common/debian/rules	Sun Aug 27 17:50:51 2006
@@ -27,16 +27,18 @@
 $(BUILD_DIR) $(STAMPS_DIR):
 	@[ -d $@ ] || mkdir $@
 
+NO_ORIG = .svn debian scripts
+
 DIR_ORIG = ../orig/xen-common-$(VERSION)
 
 orig: $(DIR_ORIG)
-	rsync --delete --exclude debian --exclude .svn --link-dest=$(DIR_ORIG)/ -a $(DIR_ORIG)/ .
+	rsync --delete $(foreach t, $(NO_ORIG), --exclude $(t)) --link-dest=$(DIR_ORIG)/ -a $(DIR_ORIG)/ .
 
 # This is to make dpatch-edit-patch work
 unpatch: clean
 
 maintainerclean:
-	rm -rf $(filter-out .svn debian scripts, $(wildcard * .[^.]*))
+	rm -rf $(filter-out $(NO_ORIG), $(wildcard * .[^.]*))
 
 install: $(STAMPS_DIR)/source
 	dh_testdir



More information about the Pkg-xen-changes mailing list