diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
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 @@ | |||
| 1 | BUILDDIR=debian/build | ||
| 2 | VERSION=1.0 | ||
| 3 | |||
| 4 | clean: | ||
| 5 | rm -Rf ${BUILDDIR} | ||
| 6 | rm -f debian/*.log | ||
| 7 | |||
| 8 | fetch: | ||
| 9 | git clone git@gitlab.nbs-system.com:packages/php-malware-finder.git | ||
| 10 | |||
| 11 | extract: fetch | ||
| 12 | mv php-malware-finder ${BUILDDIR} | ||
| 13 | |||
| 14 | set_distribution: | ||
| 15 | sed -e "s/##version/`cut -d'.' -f1 < /etc/debian_version`/" -i debian/control debian/changelog | ||
| 16 | |||
| 17 | package: clean extract set_distribution | ||
| 18 | debuild -b -us -uc --lintian-opts -X po-debconf | ||
