aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-20 11:50:09 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-20 11:50:09 +0000
commit29ddcc3611512d8e6bedf9a5083fcb71c307c37a (patch)
tree0ff97b6238ad7baafc040c8e1306eeeca0458b54 /share
parent6cb2ac8d3a645e9bd209a04af9a6a7a3deb5a210 (diff)
downloadmsec-29ddcc3611512d8e6bedf9a5083fcb71c307c37a.tar
msec-29ddcc3611512d8e6bedf9a5083fcb71c307c37a.tar.gz
msec-29ddcc3611512d8e6bedf9a5083fcb71c307c37a.tar.bz2
msec-29ddcc3611512d8e6bedf9a5083fcb71c307c37a.tar.xz
msec-29ddcc3611512d8e6bedf9a5083fcb71c307c37a.zip
- add the drakesec help target
- sanitize make rules through std macros to ease creating new rules
Diffstat (limited to 'share')
-rw-r--r--share/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/share/Makefile b/share/Makefile
index 6416a90..10bbb12 100644
--- a/share/Makefile
+++ b/share/Makefile
@@ -7,28 +7,32 @@
# Created On : Sat Jan 26 20:17:55 2002
#---------------------------------------------------------------
-all: mseclib.py compile man
+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 mseclib.py
- ./shadow.py libmsec > mseclib.py
+ rm -f $@
+ ./shadow.py libmsec > $@
man: mseclib.man levels
+help.pm: libmsec.py draksec_help.py
+ rm -f $@
+ ./draksec_help.py libmsec > $@
+
mseclib.man: libmsec.py man.py
- rm -f mseclib.man
- ./man.py libmsec > mseclib.man
+ 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] mseclib.man
+ rm -f *.pyc *.pyo mseclib.py *~ level.[0-5] mseclib.man help.pm
# Local variables:
# mode: makefile