summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJulien "shaddai" Reveret2015-04-17 16:35:57 +0200
committerJulien "shaddai" Reveret2015-04-17 16:35:57 +0200
commit5932a90736b953baedae8adc77155f24dce01ee8 (patch)
treeed386d37be06842de5af064886beda5a875ce52a /package
parent1a2fd8eb0697030f15e91015d3ecbd9d240ee5dd (diff)
adding set_distribution target to build distribution specific package
Diffstat (limited to 'package')
-rw-r--r--package/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/Makefile b/package/Makefile
index db3eb40..74a305b 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -11,5 +11,8 @@ fetch:
11extract: fetch 11extract: fetch
12 mv php-malware-finder ${BUILDDIR} 12 mv php-malware-finder ${BUILDDIR}
13 13
14package: clean extract 14set_distribution:
15 debuild -b -us -uc --lintian-opts -X po-debconf \ No newline at end of file 15 sed -e "s/##version/`cut -d'.' -f1 < /etc/debian_version`/" -i debian/control debian/changelog
16
17package: clean extract set_distribution
18 debuild -b -us -uc --lintian-opts -X po-debconf