moved doc/changelog.html to doc/changelog.old.html
[iserv-mod-room-reservation.git] / Makefile
index c9bf658..410d622 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -77,11 +77,11 @@ endif
        # web pages\r
        $(MKDIR) $(DESTDIR)/usr/share/iserv/www/mod_room-reservation/admin\r
        $(LN) src/index.php $(DESTDIR)/usr/share/iserv/www/mod_room-reservation/\r
-       $(LN) src/admin/config.php $(DESTDIR)/usr/share/iserv/www/mod_room-reservation/admin/\r
+       $(LN) src/admin/*.php $(DESTDIR)/usr/share/iserv/www/mod_room-reservation/admin/\r
        \r
        # additional files\r
        $(MKDIR) $(DESTDIR)/usr/share/iserv/modules/room-reservation\r
-       $(LN) update-iserv1-iserv2.pl $(DESTDIR)/usr/share/iserv/modules/room-reservation\r
+       $(LN) maint/update-iserv1-iserv2.pl $(DESTDIR)/usr/share/iserv/modules/room-reservation\r
        chmod +x $(DESTDIR)/usr/share/iserv/modules/room-reservation/update-iserv1-iserv2.pl\r
 \r
 # build doxygen documentation from source\r
@@ -90,9 +90,7 @@ sourcedoc:
 \r
 # install everything\r
 install: sourcedoc links\r
-ifeq ($(shell id -u),0)\r
-       chmod g+w $(DESTDIR)/usr/share/iserv/www/inc/mod_room-reservation/config.inc\r
-       chown www-data $(DESTDIR)/usr/share/iserv/www/inc/mod_room-reservation/config.inc\r
+ifeq ($(shell echo $USER),root)\r
        chkdb -r\r
        chkpriv\r
        chklocale\r
This page took 0.019577 seconds and 4 git commands to generate.