[git-buildpackage 1/2] move debian/ to branch debian
[iserv-mod-error-reporter.git] / Makefile
index d79d23f..c2c2be7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,11 +40,11 @@ MKDIR=mkdir -p
 links: sourcedoc
        # documentation
        $(MKDIR) $(DESTDIR)/usr/share/doc/iserv-mod-error-reporter/source/
-       $(MKDIR) $(DESTDIR)/usr/share/doc/iserv/mod/
+       $(MKDIR) $(DESTDIR)/usr/share/doc/iserv/mod/error-reporter/
        $(LN) doc/TODO $(DESTDIR)/usr/share/doc/iserv-mod-error-reporter/
        $(LN) doc/changelog.old.html $(DESTDIR)/usr/share/doc/iserv-mod-error-reporter/
        $(LN) doc/source/* $(DESTDIR)/usr/share/doc/iserv-mod-error-reporter/source/
-       $(LN) -s ../../iserv-mod-error-reporter $(DESTDIR)/usr/share/doc/iserv/mod/error-reporter/
+       $(LN) -s ../../iserv-mod-error-reporter $(DESTDIR)/usr/share/doc/iserv/mod/error-reporter
        
        # images
        $(MKDIR) $(DESTDIR)/usr/share/iserv/www/img/default/16/
@@ -81,6 +81,10 @@ links: sourcedoc
        $(MKDIR) $(DESTDIR)/usr/share/iserv/iconf/etc/iserv/config.template/
        $(LN) config/82error-reporter $(DESTDIR)/usr/share/iserv/iconf/etc/iserv/config.template/
        
+       # iservchk
+       $(MKDIR) $(DESTDIR)/usr/share/iserv/iconf/etc/iserv/chk.d/99errorreporter/
+       $(LN) iservchk/* $(DESTDIR)/usr/share/iserv/iconf/etc/iserv/chk.d/99errorreporter/
+       
        # maintenance files
        $(MKDIR) $(DESTDIR)/usr/share/iserv/modules/error-reporter/
        $(LN) maint/* $(DESTDIR)/usr/share/iserv/modules/error-reporter
@@ -92,9 +96,12 @@ sourcedoc:
        doxygen
        mv doc/source/html/* doc/source/ && rm -rf doc/source/html
 
+install: sourcedoc links
+
 # clean up
 clean:
        if [ -e Doxyfile ]; then rm Doxyfile; fi;
        $(RM) doc/source
 
 .PHONY: clean install
+
This page took 0.022161 seconds and 4 git commands to generate.