summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorRichard Bos <richard@radoeka.nl>2005-12-30 11:01:47 (GMT)
committerRichard Bos <richard@radoeka.nl>2005-12-30 11:01:47 (GMT)
commit6472683b520ca2b879e443d98c7b919a291ff41a (patch)
tree4f2cebe684b787c37b9c3db5c99a2f5ba31f4a73 /Makefile.am
parent7f2d29e942a32a304e0cbd924af3680d34ed3eaf (diff)
downloadkolab-webadmin-6472683b520ca2b879e443d98c7b919a291ff41a.tar.gz
Add a webserver prefix. The latter means that kolab will be reachable
at e.g. https://www.domain.tld/kolab instead of just https://www.domain.tld/ This is done by the adding a variable web_server_prefix. In case of just kolab this variable is left empty and nothing changes compared to the old situation. Other (distributions) could define this variable and the webserver prefix is than added during build time. * php/admin/include/auth.class.php: moved to php/admin/include/auth.class.php.in * php/admin/include/headers.php: moved to php/admin/include/headers.php.in * php/admin/templates/page.tpl: moved to php/admin/templates/page.tpl.in * www/admin/logout.php: moved to www/admin/logout.php.in * www/admin/user/user.php: moved to www/admin/user/user.php.in * php/admin/include/auth.class.php.in, php/admin/include/headers.php.in, php/admin/templates/page.tpl.in, www/admin/logout.php.in, www/admin/user/user.php.in: added @webserver_web_prefix@ * Makefile.am: added some code for the @webserver_web_prefix@
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am32
1 files changed, 32 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 8cba0ff..43b4127 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -192,6 +192,38 @@ dist_kwadoc_DATA = ChangeLog \
EXTRA_DIST += dist_conf
+
+php/admin/include/auth.class.php:
+ @$(mkinstalldirs) php/admin/include
+ $(do_subst) <$(srcdir)/php/admin/include/auth.class.php.in >$@
+CLEANFILES += php/admin/incldue/auth.class.php
+EXTRA_DIST += php/admin/incldue/auth.class.php.in
+
+php/admin/include/headers.php:
+ @$(mkinstalldirs) php/admin/include
+ $(do_subst) <$(srcdir)/php/admin/include/headers.php.in >$@
+CLEANFILES += php/admin/include/headers.php
+EXTRA_DIST += php/admin/include/headers.php.in
+
+php/admin/templates/page.tpl:
+ @$(mkinstalldirs) php/admin/templates
+ $(do_subst) <$(srcdir)/php/admin/templates/page.tpl.in >$@
+CLEANFILES += php/admin/templates/page.tpl
+EXTRA_DIST += php/admin/templates/page.tpl.in
+
+www/admin/logout.php:
+ @$(mkinstalldirs) www/admin
+ $(do_subst) <$(srcdir)/www/admin/logout.php.in >$@
+CLEANFILES += www/admin/logout.php
+EXTRA_DIST += www/admin/logout.php.in
+
+www/admin/user/user.php:
+ @$(mkinstalldirs) www/admin/user
+ $(do_subst) <$(srcdir)/www/admin/user/user.php.in >$@
+CLEANFILES += www/admin/user/user.php
+EXTRA_DIST += www/admin/user/user.php.in
+
+
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(phpkolabdir)/templates_c
# test -z "$(webserver_usr)" || chown $(webserver_usr) $(DESTDIR)$(phpkolabdir)/templates_c