mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
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
This commit is contained in:
parent
bc5917c0ef
commit
f780176070
5
debian/rules
vendored
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…
Reference in New Issue
Block a user