diff options
| author | Julien "shaddai" Reveret | 2015-10-08 17:44:47 +0200 |
|---|---|---|
| committer | Julien "shaddai" Reveret | 2015-10-08 17:44:47 +0200 |
| commit | 66d9d4db0f092a2abcaa3ffb8e09163928c6a57e (patch) | |
| tree | 468dd52a2583dd91cccb78ff8591eab0fd01703a /Makefile | |
| parent | bee60884bc2a4738827accdf5e3c89e865b9f453 (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 | ||
