File: Makefile

package info (click to toggle)
python-clamav 0.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 124 kB
  • ctags: 61
  • sloc: ansic: 317; python: 102; makefile: 69
file content (36 lines) | stat: -rw-r--r-- 679 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Get version number
VERSION=`python setup.py --version`
FILES=CHANGELOG Makefile pyclamav.c setup.py README.txt gpl.txt example.py
ARCHIVE=`python setup.py --fullname`

#LIBS=`clamav-config --libs`
#CFLAGS=`clamav-config --cflags`


all:
	@python setup.py build

clean:
	@python setup.py clean

build:
	@python setup.py build

install:
	@python setup.py install

archive:
	@rm -rf $(ARCHIVE)/
	@mkdir $(ARCHIVE)
	@cp $(FILES) $(ARCHIVE)/
	@tar cvzf $(ARCHIVE).tar.gz $(ARCHIVE)/
	@rm -rf $(ARCHIVE)/
	@echo Archive is create and named $(ARCHIVE).tar.gz
	@echo -n md5sum is :
	@md5sum $(ARCHIVE).tar.gz

license:
	@python setup.py --license

register:
	@python setup.py register