X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/052712d861d2807e0672313c91fda3863cbd5f64..33b0ea73098f12374cbd6c7592663b84c8d1270f:/Makefile diff --git a/Makefile b/Makefile index 3b25f0f..b7aceed 100644 --- 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,7 +132,7 @@ endif # clean up clean: distclean - [ -e Doxyfile ] && rm Doxyfile + if [ -e Doxyfile ]; then rm Doxyfile; fi; distclean: $(RM) doc/source