config.*
configure
depcomp
+/debian
install-sh
libtool
ltmain.sh
make -f Makefile.repo
-# convert the OBS Debian files to the native Debian files
-(cd debian && rename 's/^debian\.//' debian.*)
+# copy the Debian files to the expected place
+cp -a dists/debian debian
# build binary packages
dpkg-buildpackage -j`nproc` -rfakeroot -b
# $< is the first depencency of the rule, i.e. snapper-$(VERSION).tar.gz in this case.
#
package: snapper-$(VERSION).tar.bz2 package-clean
- cp debian/* package/
+ tar cfzv package/debian.tar.gz --transform='s|dists/||' --show-transformed --exclude='*.in' dists/debian/*
+ cp dists/debian/*.dsc.in package/
echo "$(shell md5sum $< | sed -e 's/\s.*//') $(shell wc -c $<)" >>package/snapper-Debian.dsc.in
echo "$(shell md5sum $< | sed -e 's/\s.*//') $(shell wc -c $<)" >>package/snapper-xUbuntu.dsc.in
for FLAV in $(DEBIAN_FLAVOURS); do cp -v package/snapper-Debian.dsc.in package/snapper-$${FLAV}.dsc; done
testsuite-real/Makefile
testsuite-cmp/Makefile
package/snapper.spec:snapper.spec.in
- debian/snapper-Debian.dsc.in:debian/snapper-Debian.dsc.in.in
- debian/snapper-xUbuntu.dsc.in:debian/snapper-xUbuntu.dsc.in.in
+ dists/debian/snapper-Debian.dsc.in:dists/debian/snapper-Debian.dsc.in.in
+ dists/debian/snapper-xUbuntu.dsc.in:dists/debian/snapper-xUbuntu.dsc.in.in
)