summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulien "shaddai" Reveret2015-10-08 17:47:19 +0200
committerMathieu Deous2015-10-29 14:55:04 +0100
commit82352c9e9c010876a63077d6b6943ca51833d375 (patch)
treef97a4b6383d73e2a20140d51f61aaa512d201379 /Makefile
parentff0c609ce15299fcd0da5f5b471d3519495977ff (diff)
Makefile changed : no more git clone, new build dir
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 74a305b..c34bcee 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,13 @@
1BUILDDIR=debian/build
2VERSION=1.0 1VERSION=1.0
3 2
4clean: 3clean:
5 rm -Rf ${BUILDDIR} 4 rm -rf php-malware-finder/debian
6 rm -f debian/*.log
7 5
8fetch: 6extract:
9 git clone git@gitlab.nbs-system.com:packages/php-malware-finder.git 7 cp -r debian php-malware-finder
10
11extract: fetch
12 mv php-malware-finder ${BUILDDIR}
13 8
14set_distribution: 9set_distribution:
15 sed -e "s/##version/`cut -d'.' -f1 < /etc/debian_version`/" -i debian/control debian/changelog 10 sed -e "s/##version/`cut -d'.' -f1 < /etc/debian_version`/" -i php-malware-finder/debian/control php-malware-finder/debian/changelog
16 11
17package: clean extract set_distribution 12package: clean extract set_distribution
18 debuild -b -us -uc --lintian-opts -X po-debconf 13 cd php-malware-finder && debuild -b -us -uc --lintian-opts -X po-debconf