From 82352c9e9c010876a63077d6b6943ca51833d375 Mon Sep 17 00:00:00 2001 From: Julien "shaddai" Reveret Date: Thu, 8 Oct 2015 17:47:19 +0200 Subject: Makefile changed : no more git clone, new build dir --- Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 74a305b..c34bcee 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,13 @@ -BUILDDIR=debian/build VERSION=1.0 clean: - rm -Rf ${BUILDDIR} - rm -f debian/*.log + rm -rf php-malware-finder/debian -fetch: - git clone git@gitlab.nbs-system.com:packages/php-malware-finder.git - -extract: fetch - mv php-malware-finder ${BUILDDIR} +extract: + cp -r debian php-malware-finder set_distribution: - sed -e "s/##version/`cut -d'.' -f1 < /etc/debian_version`/" -i debian/control debian/changelog + sed -e "s/##version/`cut -d'.' -f1 < /etc/debian_version`/" -i php-malware-finder/debian/control php-malware-finder/debian/changelog package: clean extract set_distribution - debuild -b -us -uc --lintian-opts -X po-debconf + cd php-malware-finder && debuild -b -us -uc --lintian-opts -X po-debconf -- cgit v1.3