add in prep rule for make so we have a .tar.gz to trick dpkg-buildpackage with...

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1850 a1433add-5e2c-0410-b055-b7f2511e0802
pull/19/head
David Goodwin 8 years ago
parent bc5917c0ef
commit f780176070

5
debian/rules vendored

@ -8,6 +8,11 @@ export VERSION = $(shell grep -E "version = '.*';" functions.inc.php |sed -e "
export DEBVERSION = $(shell grep -E "postfixadmin .([0-9]+|\.)+" debian/changelog |head -1 |sed -e "s/postfixadmin .//" |sed -e "s/-.*//")
# Create a needed tar.gz file to build a non-nativ .dpkg
prep:
rm -f ../postfixadmin_*orig.tar.gz
cd ..; tar --exclude-vcs --exclude=$(notdir ${CURDIR})/debian --exclude=$(notdir ${CURDIR})/.pc -cvzf postfixadmin_${DEBVERSION}.orig.tar.gz $(notdir ${CURDIR})
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp

Loading…
Cancel
Save