summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien "shaddai" Reveret2016-05-13 17:38:27 +0200
committerJulien "shaddai" Reveret2016-05-13 17:38:27 +0200
commit0689a9a422ad6a0e02f97118588bcaedb2ae6265 (patch)
tree78c072c7d1c7d109d1c5fc01f9096dfe9f80c0ae
parent7e280b341566f27b4612db70df6f5ecb825354bf (diff)
disable support for debian squeeze
-rw-r--r--Makefile10
1 files 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)
4tests: 4tests:
5 @cd ./php-malware-finder && bash ./tests.sh 5 @cd ./php-malware-finder && bash ./tests.sh
6 6
7clean: 7debclean:
8 rm -rf php-malware-finder/debian 8 rm -rf php-malware-finder/debian
9 rm -f *.build *.changes *.deb 9 rm -f *.build *.changes *.deb
10 10
@@ -17,10 +17,8 @@ extract:
17set_distribution: 17set_distribution:
18 sed -e "s/##version/${DEBVER}/" -i php-malware-finder/debian/control php-malware-finder/debian/changelog 18 sed -e "s/##version/${DEBVER}/" -i php-malware-finder/debian/control php-malware-finder/debian/changelog
19 19
20check_distribution: 20rpm:
21ifeq ($(DEBVER),6) 21 @echo "no rpm build target for now, feel free to submit one"
22 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
23endif
24 22
25package: clean extract set_distribution check_distribution 23deb: debclean extract set_distribution
26 cd php-malware-finder && debuild -b -us -uc --lintian-opts -X po-debconf 24 cd php-malware-finder && debuild -b -us -uc --lintian-opts -X po-debconf