X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/blobdiff_plain/5f65fcaece2ab96a04c101e28221b2cae952215f..f15742402981b591f41c16cd1d84d8d90348dd6a:/Makefile diff --git a/Makefile b/Makefile index c9bf658..410d622 100644 --- a/Makefile +++ b/Makefile @@ -77,11 +77,11 @@ 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 - $(LN) update-iserv1-iserv2.pl $(DESTDIR)/usr/share/iserv/modules/room-reservation + $(LN) maint/update-iserv1-iserv2.pl $(DESTDIR)/usr/share/iserv/modules/room-reservation chmod +x $(DESTDIR)/usr/share/iserv/modules/room-reservation/update-iserv1-iserv2.pl # build doxygen documentation from source @@ -90,9 +90,7 @@ sourcedoc: # install everything install: sourcedoc links -ifeq ($(shell id -u),0) - chmod g+w $(DESTDIR)/usr/share/iserv/www/inc/mod_room-reservation/config.inc - chown www-data $(DESTDIR)/usr/share/iserv/www/inc/mod_room-reservation/config.inc +ifeq ($(shell echo $USER),root) chkdb -r chkpriv chklocale