summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxarkes2016-04-21 11:37:43 +0200
committerjvoisin2016-04-21 11:37:43 +0200
commitb2fc542557d08570faa0dd077d07277c626ddc1b (patch)
tree5cc3fc94c16bc04c8127257f3109e41680af8b86 /Makefile
parentd3008b7639c24cf71a2b07b29b58b48533fdfa49 (diff)
Renaming .yara files to .yar (#24)
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