diff options
| author | xarkes | 2016-04-21 11:37:43 +0200 |
|---|---|---|
| committer | jvoisin | 2016-04-21 11:37:43 +0200 |
| commit | b2fc542557d08570faa0dd077d07277c626ddc1b (patch) | |
| tree | 5cc3fc94c16bc04c8127257f3109e41680af8b86 /Makefile | |
| parent | d3008b7639c24cf71a2b07b29b58b48533fdfa49 (diff) | |
Renaming .yara files to .yar (#24)
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -10,16 +10,16 @@ clean: | |||
| 10 | 10 | ||
| 11 | extract: | 11 | extract: |
| 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 | ||
| 17 | set_distribution: | 17 | set_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 | ||
| 20 | check_distribution: | 20 | check_distribution: |
| 21 | ifeq ($(DEBVER),6) | 21 | ifeq ($(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 |
| 23 | endif | 23 | endif |
| 24 | 24 | ||
| 25 | package: clean extract set_distribution check_distribution | 25 | package: clean extract set_distribution check_distribution |
