aboutsummaryrefslogtreecommitdiffstats
path: root/share/Makefile
blob: 6416a9065414fc2db0b6920dc2988c11e0e5a5bc (plain)
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
37
#---------------------------------------------------------------
# Project         : Mandrake Linux
# Module          : share
# File            : Makefile
# Version         : $Id$
# Author          : Frederic Lepied
# Created On      : Sat Jan 26 20:17:55 2002
#---------------------------------------------------------------

all: mseclib.py compile man

compile:
	./compile.py '/usr/share/msec/' *.py
	rm -f msec.pyo

mseclib.py: libmsec.py shadow.py
	rm -f mseclib.py
	./shadow.py libmsec > mseclib.py

man: mseclib.man levels

mseclib.man: libmsec.py man.py
	rm -f mseclib.man
	./man.py libmsec > mseclib.man

levels:
	for l in 0 1 2 3 4 5; do rm -f level.$$l; \
	  ./msec.py -o log=stderr -o print=1 -o nolocal=1 $$l < /dev/null | sort > level.$$l; \
	done
clean:
	rm -f *.pyc *.pyo mseclib.py *~ level.[0-5] mseclib.man

# Local variables:
# mode: makefile
# End:
#
# Makefile ends here