]> wagnertech.de Git - projects.git/blobdiff - tools/make/rules
posaune
[projects.git] / tools / make / rules
index 01d20175512f5479352f23fa7ed20d373fa8512a..aa4f5d534a46bc40094886a3bf9e4b42610399e0 100755 (executable)
@@ -4,7 +4,7 @@
 
 # defile default operations
 NOP = @echo "No operation for target $@"
-DEB = fakeroot dpkg-deb --build debian/tmp
+DEB = fakeroot dpkg-deb --build $(oldpack) debian/tmp
 INSERT_BUILD = /usr/share/mbuild/insert_build.sh
 
 include debian/rules.pre
@@ -52,7 +52,8 @@ version: ~/build/$(TARGET)
        mkdir ../build
 
 sync:
-       bash -c 'for dirs in $$(ls); do rsync -av $$dirs ../build; done'
+       #bash -c 'for dirs in $$(ls); do rsync -av $$dirs ../build; done'
+       rsync -av --exclude="build" --exclude="debian/tmp" --exclude="Packages" --exclude=".*" ./ ../build/
 
 copy: debian/$(paket).cp
        debian/$(paket).cp debian/tmp