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
|
|
|
|
2003-03-26 20:42:17 +08:00
|
|
|
web_DATA = zm_actions.php zm_config.php zm_db.php zm_funcs.php zm_html.php zm.php zm_styles.css zm_wml.php
|
2002-12-10 18:58:32 +08:00
|
|
|
|
2003-03-26 20:42:17 +08:00
|
|
|
EXTRA_DIST = zm_config.php.z zm_actions.php zm_db.php zm_funcs.php zm_html.php zm.php zm_styles.css zm_wml.php swap.pl retag.sh
|
2002-12-11 05:27:29 +08:00
|
|
|
|
|
|
|
# Yes, you are correct. This is a HACK!
|
2003-03-27 06:12:03 +08:00
|
|
|
install-data-hook:
|
2002-12-11 05:27:29 +08:00
|
|
|
( cd $(webdir); chown $(webuser):$(webgroup) $(web_DATA) )
|
2003-03-07 18:02:40 +08:00
|
|
|
@-( cd $(webdir); if ! test -e events; then mkdir events; fi; chown $(webuser):$(webgroup) events; chmod u+w events )
|
2003-01-04 00:47:11 +08:00
|
|
|
@-( cd $(webdir); if ! test -e images; then mkdir images; fi; chown $(webuser):$(webgroup) images; chmod u+w images )
|
|
|
|
@-( cd $(webdir); if ! test -e sounds; then mkdir sounds; fi; chown $(webuser):$(webgroup) sounds; chmod u+w sounds )
|
|
|
|
@-( cd $(webdir); if ! test -e temp; then mkdir temp; fi; chown $(webuser):$(webgroup) temp; chmod u+w temp )
|
2002-12-11 08:22:45 +08:00
|
|
|
-( cd $(webdir); ln -s zm.php index.php )
|