From 0689a9a422ad6a0e02f97118588bcaedb2ae6265 Mon Sep 17 00:00:00 2001 From: Julien "shaddai" Reveret Date: Fri, 13 May 2016 17:38:27 +0200 Subject: disable support for debian squeeze --- Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index b66e1db..9c5e00e 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ DEBVER := $(shell sed 's,[/\.].*,,' < /etc/debian_version) tests: @cd ./php-malware-finder && bash ./tests.sh -clean: +debclean: rm -rf php-malware-finder/debian rm -f *.build *.changes *.deb @@ -17,10 +17,8 @@ extract: set_distribution: sed -e "s/##version/${DEBVER}/" -i php-malware-finder/debian/control php-malware-finder/debian/changelog -check_distribution: -ifeq ($(DEBVER),6) - sed -e '/too_many_chr/d' -e '/b64_concat/d' -e 's/^import.*//g' -e 's/^include.*//g' -e 's/and\ not\ IsWhitelisted//g' -i php-malware-finder/common.yar -endif +rpm: + @echo "no rpm build target for now, feel free to submit one" -package: clean extract set_distribution check_distribution +deb: debclean extract set_distribution cd php-malware-finder && debuild -b -us -uc --lintian-opts -X po-debconf -- cgit v1.3