From 71f4cc84c3788c6904ede17cd626a9ca9c349e3b Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sun, 30 Jan 2005 00:57:53 +0000 Subject: initial commit into repository --- (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..cf1fe6d --- a/dev/null +++ b/Makefile.am @@ -0,0 +1,35 @@ +EXTRA_DIST = \ + $(addprefix htdocs/,.htaccess index.chtml sources.chtml style.css view.chtml) \ + $(addprefix htdocs/ancestry/,.htaccess layout.chtml page.chtml sources.chtml) \ + $(addprefix htdocs/exceptions/,index.chtml preprocess.chtml compile.chtml runtime.chtml) \ + $(addprefix htdocs/exceptions/development/,.htaccess .scrc compile.chtml compile.html preprocess.chtml runtime.chtml erroneous.h) \ + $(addprefix htdocs/exceptions/production/,.htaccess .scrc compile.chtml compile.html preprocess.chtml runtime.chtml erroneous.h) \ + $(addprefix htdocs/handlers/,.htaccess exception_dev exception_prod) \ + autogen.sh \ + NEWS NEWS.xml NEWS.xsl + +DISTCHECK_CONFIGURE_FLAGS=--enable-distcheck + +all-local: NEWS sitecode restart restart-apache +distclean-local: + rm -rf config.sitecing \ + logs fastcgi-bin run cache + +NEWS: NEWS.xsl NEWS.xml + ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml + +sitecode: conf/sitecing.conf include/acconfig.h + ${SHELL} bin/build +restart: conf/sitecing.conf conf/dudki.conf +if !DISTCHECKING +if HAVE_DUDKI + sudo ${SHELL} -c "@DUDKI@ -k @dudki_id@ ; sleep 3 ; @DUDKI@ -r" +else + kill `cat run/sitecing.pid` ; sleep 3 ; ${SHELL} bin/run +endif +endif !DISTCHECKING + +restart-apache: conf/httpd.conf +if !DISTCHECKING + @APACHE_RESTART_CMD@ +endif !DISTCHECKING -- cgit v0.9.0.2