X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/blobdiff_plain/53b4c836cc54c06c3fca9fa9777f00dc4286a7af..75575ef51d48f6d58c8fdd3048928a85aed70e28:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index a90f49a..f639d30 100644 --- a/Makefile +++ b/Makefile @@ -37,8 +37,9 @@ links: # documentation $(MKDIR) $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/ $(LN) doc/{TODO,changelog.html} $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/ - $(LN) doc/source/html/* $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/ - + $(LN) doc/source/* $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/ + $(LN) -s $(DESTDIR)/usr/share/doc/iserv-mod-room-reservation $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation + # images if [ ! -d $(DESTDIR)/usr/share/iserv/www/img/default/16/ ]; then $(MKDIR) $(DESTDIR)/usr/share/iserv/www/img/default/16/; fi $(LN) img/16/*.png $(DESTDIR)/usr/share/iserv/www/img/default/16/ @@ -77,7 +78,7 @@ endif # web pages $(MKDIR) $(DESTDIR)/usr/share/iserv/www/mod_room-reservation/admin $(LN) src/index.php $(DESTDIR)/usr/share/iserv/www/mod_room-reservation/ - $(LN) src/admin/config.php $(DESTDIR)/usr/share/iserv/www/mod_room-reservation/admin/ + $(LN) src/admin/*.php $(DESTDIR)/usr/share/iserv/www/mod_room-reservation/admin/ # additional files $(MKDIR) $(DESTDIR)/usr/share/iserv/modules/room-reservation @@ -87,10 +88,11 @@ endif # build doxygen documentation from source sourcedoc: doxygen + mv doc/source/html/* doc/source/ && rm -rf doc/source/html # install everything install: sourcedoc links -ifeq ($(shell id -u),0) +ifeq ($(shell echo $USER),root) chkdb -r chkpriv chklocale