summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index ddf79b7..b66e1db 100644
--- a/Makefile
+++ b/Makefile
@@ -10,16 +10,16 @@ clean:
10 10
11extract: 11extract:
12 cp -r debian php-malware-finder 12 cp -r debian php-malware-finder
13 git checkout php-malware-finder/common.yara 13 git checkout php-malware-finder/common.yar
14 git checkout php-malware-finder/php.yara 14 git checkout php-malware-finder/php.yar
15 git checkout php-malware-finder/asp.yara 15 git checkout php-malware-finder/asp.yar
16 16
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: 20check_distribution:
21ifeq ($(DEBVER),6) 21ifeq ($(DEBVER),6)
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.yara 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 23endif
24 24
25package: clean extract set_distribution check_distribution 25package: clean extract set_distribution check_distribution