documentation: Makefile puts sourcedoc in doc/source, installs everything in /usr...
authorrohieb <devnull@localhost>
Sat, 26 Jul 2008 19:18:21 +0000 (21:18 +0200)
committerrohieb <devnull@localhost>
Sat, 26 Jul 2008 19:18:21 +0000 (21:18 +0200)
Makefile
debian/postinst
debian/rules

index 410d622..f639d30 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,8 +37,9 @@ links:
        # documentation\r
        $(MKDIR) $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/\r
        $(LN) doc/{TODO,changelog.html} $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/\r
-       $(LN) doc/source/html/* $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/\r
-       \r
+       $(LN) doc/source/* $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/\r
+       $(LN) -s $(DESTDIR)/usr/share/doc/iserv-mod-room-reservation $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation\r
+\r
        # images\r
        if [ ! -d $(DESTDIR)/usr/share/iserv/www/img/default/16/ ]; then $(MKDIR) $(DESTDIR)/usr/share/iserv/www/img/default/16/; fi\r
        $(LN) img/16/*.png $(DESTDIR)/usr/share/iserv/www/img/default/16/\r
@@ -87,6 +88,7 @@ endif
 # build doxygen documentation from source\r
 sourcedoc:\r
        doxygen\r
+       mv doc/source/html/* doc/source/ && rm -rf doc/source/html\r
 \r
 # install everything\r
 install: sourcedoc links\r
index 9e56694..16b6a14 100755 (executable)
@@ -4,5 +4,5 @@ chgrp www-data /usr/share/iserv/www/inc/mod_room-reservation/config.inc
 chkdb -r
 chkpriv
 chklocale
-
+ln -fs /usr/share/doc/iserv/mod/room-reservation /usr/share/doc/iserv-mod-room-reservation
 #DEBHELPER#
index ebcf0f6..9a88844 100755 (executable)
@@ -18,7 +18,7 @@ binary-indep:
        dh_testdir
        dh_testroot
        dh_installchangelogs 
-       dh_installdocs
+       dh_installdocs doc/{changelog.html,TODO} doc/source/
        #dh_installexamples
        ##dh_install
        ##dh_installmenu
This page took 0.024192 seconds and 4 git commands to generate.