summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5e03fd6e61c518f5dfb33caeb66f64ddff315a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
VERSION=1.0
DEBVER := $(shell sed 's,[/\.].*,,' < /etc/debian_version)

tests:
	@cd ./php-malware-finder && bash ./tests.sh

debclean:
	rm -rf php-malware-finder/debian
	rm -f *.build *.changes *.deb

extract:
	cp -r debian php-malware-finder
	git checkout php-malware-finder/common.yar
	git checkout php-malware-finder/php.yar
	git checkout php-malware-finder/asp.yar

rpm:
	@echo "no rpm build target for now, feel free to submit one"

deb: debclean extract 
	cd php-malware-finder && debuild -b -us -uc --lintian-opts -X po-debconf --profile debian