...and update script to convert old PHP based config into /etc/iserv/config
[iserv-mod-error-reporter.git] / Makefile
index a555f54..b7aceed 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,11 @@ endif
        # web pages
        $(MKDIR) $(DESTDIR)/usr/share/iserv/www/mod_error-reporter
        $(LN) src/{config,detail,index}.php $(DESTDIR)/usr/share/iserv/www/mod_error-reporter
-       
+
+       # config
+       if [ ! -d $(DESTDIR)/usr/share/iserv/iconf/etc/iserv/config.template/ ]; then $(MKDIR) $(DESTDIR)/usr/share/iserv/iconf/etc/iserv/config.template/; fi
+       $(LN) config/82error-reporter $(DESTDIR)/usr/share/iserv/iconf/etc/iserv/config.template/
+
        # maintenance files
        $(MKDIR) $(DESTDIR)/usr/share/iserv/modules/error-reporter
        $(LN) maint/* $(DESTDIR)/usr/share/iserv/modules/error-reporter
@@ -128,6 +132,7 @@ endif
 
 # clean up
 clean: distclean
+       if [ -e Doxyfile ]; then rm Doxyfile; fi;
 
 distclean:
        $(RM) doc/source
This page took 0.020655 seconds and 4 git commands to generate.