diff options
| author | Julien "shaddai" Reveret | 2015-10-08 17:47:19 +0200 |
|---|---|---|
| committer | Mathieu Deous | 2015-10-29 14:55:04 +0100 |
| commit | 82352c9e9c010876a63077d6b6943ca51833d375 (patch) | |
| tree | f97a4b6383d73e2a20140d51f61aaa512d201379 /Makefile | |
| parent | ff0c609ce15299fcd0da5f5b471d3519495977ff (diff) | |
Makefile changed : no more git clone, new build dir
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
| @@ -1,18 +1,13 @@ | |||
| 1 | BUILDDIR=debian/build | ||
| 2 | VERSION=1.0 | 1 | VERSION=1.0 |
| 3 | 2 | ||
| 4 | clean: | 3 | clean: |
| 5 | rm -Rf ${BUILDDIR} | 4 | rm -rf php-malware-finder/debian |
| 6 | rm -f debian/*.log | ||
| 7 | 5 | ||
| 8 | fetch: | 6 | extract: |
| 9 | git clone git@gitlab.nbs-system.com:packages/php-malware-finder.git | 7 | cp -r debian php-malware-finder |
| 10 | |||
| 11 | extract: fetch | ||
| 12 | mv php-malware-finder ${BUILDDIR} | ||
| 13 | 8 | ||
| 14 | set_distribution: | 9 | set_distribution: |
| 15 | sed -e "s/##version/`cut -d'.' -f1 < /etc/debian_version`/" -i debian/control debian/changelog | 10 | sed -e "s/##version/`cut -d'.' -f1 < /etc/debian_version`/" -i php-malware-finder/debian/control php-malware-finder/debian/changelog |
| 16 | 11 | ||
| 17 | package: clean extract set_distribution | 12 | package: clean extract set_distribution |
| 18 | debuild -b -us -uc --lintian-opts -X po-debconf | 13 | cd php-malware-finder && debuild -b -us -uc --lintian-opts -X po-debconf |
