2002-12-10 18:58:32 +08:00
|
|
|
AUTOMAKE_OPTIONS = gnu
|
|
|
|
|
2002-12-11 07:02:35 +08:00
|
|
|
# This should be set to your CGI directory
|
|
|
|
webdir = @WEB_PREFIX@
|
2002-12-11 05:27:29 +08:00
|
|
|
# And these to the user and group of your webserver
|
2002-12-11 07:02:35 +08:00
|
|
|
webuser = @WEB_USER@
|
|
|
|
webgroup = @WEB_GROUP@
|
2002-12-11 05:27:29 +08:00
|
|
|
|
2002-12-14 07:24:19 +08:00
|
|
|
web_DATA = zmactions.php zmconfig.php zmdb.php zmfuncs.php zmhtml.php zm.php zmstyles.css zmwml.php
|
2002-12-10 18:58:32 +08:00
|
|
|
|
|
|
|
EXTRA_DIST = $(web_DATA)
|
2002-12-11 05:27:29 +08:00
|
|
|
|
|
|
|
# Yes, you are correct. This is a HACK!
|
|
|
|
install-data-local:
|
|
|
|
( cd $(webdir); chown $(webuser):$(webgroup) $(web_DATA) )
|
2003-01-04 00:37:17 +08:00
|
|
|
@-( cd $(webdir); mkdir images; chown $(webuser):$(webgroup) images; chmod u+w images )
|
|
|
|
@-( cd $(webdir); mkdir sounds; chown $(webuser):$(webgroup) sounds; chmod u+w sounds )
|
|
|
|
@-( cd $(webdir); mkdir temp; chown $(webuser):$(webgroup) temp; chmod u+w temp )
|
2002-12-11 08:22:45 +08:00
|
|
|
-( cd $(webdir); ln -s zm.php index.php )
|