+RHCE
[www.jankratochvil.net.git] / Makefile.am
index cf27f8b..f2689c2 100644 (file)
@@ -19,7 +19,7 @@
 include $(top_srcdir)/Makefile-head.am
 
 AUTOMAKE_OPTIONS=foreign
-SUBDIRS=macros My resume etmms project
+SUBDIRS=macros My resume etmms project product
 ## to automatically rebuild aclocal.m4 if any of the macros in
 ## `macros/' change
 @MAINT@include macros/macros.dep
@@ -34,7 +34,8 @@ EXTRA_DIST+= \
                autogen.pl \
                .vimrc \
                ChangeLog \
-               dia-w.sh.in
+               dia-w.sh.in \
+               Lib.pm
 
 MAINTAINERCLEANFILES+= \
                ChangeLog
@@ -53,12 +54,25 @@ ChangeLog:
 
 endif
 
+CLEANFILES+=httpd.conf
+EXTRA_DIST+=httpd.conf.pl
+
+httpd.conf: httpd.conf.pl Makefile project/Makefile product/Makefile
+       perl -I$$PWD ./$< >$@
+
+TESTS+=html-test
+
+html-test:
+       ./$@.pl
+
 EXTRA_DIST+= \
-       Index.html.pl \
-       WebConfig.pm \
-       Redirect.pl \
-       have_js.js.pl \
-       robots.txt \
-       SendMsg.pl \
-       Contact.html.pl \
-       Mailman.pl
+               WebConfig.pm \
+               robots.txt \
+               html-test.pl
+
+MODPERL_PM+= \
+               Index.pm \
+               IndexCVS.pm \
+               Contact.pm \
+               Mailman.pm
+