# 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
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