summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulien "shaddai" Reveret2015-10-08 17:44:47 +0200
committerMathieu Deous2015-10-29 14:55:04 +0100
commitff0c609ce15299fcd0da5f5b471d3519495977ff (patch)
treeb217ff3ed047ad0f63c4e39b8f400eebafa0d1a3 /Makefile
parent1b88cf3b85d8e3225fb55526f53cbf4df75d9813 (diff)
reorganized git repo
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..74a305b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
1BUILDDIR=debian/build
2VERSION=1.0
3
4clean:
5 rm -Rf ${BUILDDIR}
6 rm -f debian/*.log
7
8fetch:
9 git clone git@gitlab.nbs-system.com:packages/php-malware-finder.git
10
11extract: fetch
12 mv php-malware-finder ${BUILDDIR}
13
14set_distribution:
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