diff options
| author | Julien "shaddai" Reveret | 2015-10-08 17:44:47 +0200 |
|---|---|---|
| committer | Mathieu Deous | 2015-10-29 14:55:04 +0100 |
| commit | ff0c609ce15299fcd0da5f5b471d3519495977ff (patch) | |
| tree | b217ff3ed047ad0f63c4e39b8f400eebafa0d1a3 /Makefile | |
| parent | 1b88cf3b85d8e3225fb55526f53cbf4df75d9813 (diff) | |
reorganized git repo
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 | ||
