blob: 51a6b3a624239e1a234ecbd3e21045adf365b600 (
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
38
39
40
41
42
43
|
#---------------------------------------------------------------
# Project : Mandrakelinux
# Module : share
# File : Makefile
# Version : $Id$
# Author : Frederic Lepied
# Created On : Sat Jan 26 20:17:55 2002
#---------------------------------------------------------------
MAN=../man/C/mseclib.3
all: mseclib.py compile man help.pm
compile:
./compile.py '/usr/share/msec/' *.py
rm -f msec.pyo
mseclib.py: libmsec.py shadow.py
rm -f $@
./shadow.py libmsec > $@
man: $(MAN) levels
help.pm: libmsec.py draksec_help.py
rm -f $@
./draksec_help.py libmsec > $@
$(MAN): libmsec.py man.py
rm -f $@
./man.py libmsec > $@
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] help.pm
# Local variables:
# mode: makefile
# End:
#
# Makefile ends here
|