aboutsummaryrefslogtreecommitdiffstats
path: root/share/Makefile
blob: 1ea9067b295cce40a1a2a51c00302e8a11ed48de (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 *~

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