summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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