# # $Id: Makefile,v 1.23 2009/09/14 18:53:25 sauer Exp $ # # unix & NT definitions #PERLPATH=/usr/bin/perl GREP=grep .SUFFIXES: .html .m4 OBJECTS = mod_auth++.html html: $(OBJECTS) $(GREP) m4_ *.html || true code: $(GREP) m4_ *.html || true ln -f *401* /home/httpd/technologists/html/error ln -f ma?fail.html ma?success.html .. ln -f *.pwd ../.. chown apache *.pwd chs_trace chgrp apache *.pwd chs_trace m4 mod_auth.m4 > mod_auth.c ln -f mod_auth.c /home/src/httpd-2.0.53/modules/aaa cd /home/src/httpd-2.0.53/modules/aaa; make mod_auth.la cp -pf /home/src/httpd-2.0.53/modules/aaa/.libs/mod_auth.so /usr/lib/httpd/modules/mod_auth.so /etc/rc.d/init.d/httpd restart sleep 10 pwd: cat mod_auth++.pwd > mod_auth++confirm.pwd cat mod_auth++.pwd > mod_auth++approve.pwd nologs: rm -f access_log rm -f error_log cat /dev/null > /var/log/httpd/error_log cat /dev/null > chs_trace nulllogs: ln -f /home/httpd/technologists/logs/*log . cat /dev/null > access_log cat /dev/null > error_log cat /dev/null > /var/log/httpd/error_log cat /dev/null > chs_trace #.m4.html: # m4 $< | $(PERLPATH) cullblanklines.pl > $@ .m4.html: m4 $< \ | perl cullblanklines.pl \ | fgrep -v BM4_ \ | fgrep -v EM4_ \ | perl -p -e 's/m4_index/index/g' \ > $@ *.html: cullblanklines.pl Makefile appearance.m4 primitives.m4 ../notesitems.m4