2002-12-10 18:58:32 +08:00
|
|
|
AUTOMAKE_OPTIONS = gnu
|
|
|
|
|
2005-02-24 18:43:29 +08:00
|
|
|
# This should be set to your web directory
|
2002-12-11 07:02:35 +08:00
|
|
|
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
|
|
|
|
2005-02-24 18:43:29 +08:00
|
|
|
SUBDIRS = \
|
|
|
|
graphics
|
|
|
|
|
2004-02-19 21:02:05 +08:00
|
|
|
web_DATA = \
|
|
|
|
favicon.ico \
|
2004-12-29 02:20:11 +08:00
|
|
|
zm.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_actions.php \
|
|
|
|
zm_config.php \
|
2005-02-24 18:43:29 +08:00
|
|
|
zm_control_funcs.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_db.php \
|
2005-05-18 05:51:39 +08:00
|
|
|
zm_export_funcs.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_funcs.php \
|
|
|
|
zm_html.php \
|
2004-12-29 02:20:11 +08:00
|
|
|
zm_html_styles.css \
|
2006-05-05 18:55:18 +08:00
|
|
|
zm_html_config.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_bandwidth.php \
|
2005-02-24 18:43:29 +08:00
|
|
|
zm_html_view_blank.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_console.php \
|
2005-02-24 18:43:29 +08:00
|
|
|
zm_html_view_control.php \
|
|
|
|
zm_html_view_controlcaps.php \
|
|
|
|
zm_html_view_controlmenu.php \
|
|
|
|
zm_html_view_controlpanel.php \
|
|
|
|
zm_html_view_controlpreset.php \
|
|
|
|
zm_html_view_controlcaps.php \
|
|
|
|
zm_html_view_controlcap.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_cycle.php \
|
2006-11-09 18:51:10 +08:00
|
|
|
zm_html_view_device.php \
|
|
|
|
zm_html_view_devices.php \
|
2005-10-04 18:58:55 +08:00
|
|
|
zm_html_view_donate.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_error.php \
|
|
|
|
zm_html_view_event.php \
|
2005-05-16 20:03:28 +08:00
|
|
|
zm_html_view_eventdetail.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_events.php \
|
2005-05-18 05:51:39 +08:00
|
|
|
zm_html_view_export.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_filter.php \
|
|
|
|
zm_html_view_filtersave.php \
|
|
|
|
zm_html_view_frame.php \
|
|
|
|
zm_html_view_frames.php \
|
|
|
|
zm_html_view_function.php \
|
|
|
|
zm_html_view_login.php \
|
2006-01-24 00:25:01 +08:00
|
|
|
zm_html_view_group.php \
|
2004-10-13 17:49:11 +08:00
|
|
|
zm_html_view_groups.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_logout.php \
|
|
|
|
zm_html_view_monitor.php \
|
2006-01-01 02:08:07 +08:00
|
|
|
zm_html_view_monitorpreset.php \
|
2006-01-23 20:11:13 +08:00
|
|
|
zm_html_view_monitorselect.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_montagefeed.php \
|
|
|
|
zm_html_view_montageframe.php \
|
|
|
|
zm_html_view_montagemenu.php \
|
|
|
|
zm_html_view_montage.php \
|
|
|
|
zm_html_view_montagestatus.php \
|
|
|
|
zm_html_view_none.php \
|
|
|
|
zm_html_view_optionhelp.php \
|
|
|
|
zm_html_view_options.php \
|
|
|
|
zm_html_view_postlogin.php \
|
|
|
|
zm_html_view_settings.php \
|
2005-12-09 01:13:00 +08:00
|
|
|
zm_html_view_siren.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_state.php \
|
|
|
|
zm_html_view_stats.php \
|
2006-05-17 20:52:14 +08:00
|
|
|
zm_html_view_status.php \
|
2005-10-02 00:21:49 +08:00
|
|
|
zm_html_view_timeline.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_user.php \
|
|
|
|
zm_html_view_version.php \
|
|
|
|
zm_html_view_video.php \
|
|
|
|
zm_html_view_watchevents.php \
|
|
|
|
zm_html_view_watchfeed.php \
|
|
|
|
zm_html_view_watchmenu.php \
|
|
|
|
zm_html_view_watch.php \
|
|
|
|
zm_html_view_watchstatus.php \
|
|
|
|
zm_html_view_zone.php \
|
|
|
|
zm_html_view_zones.php \
|
2004-12-29 02:20:11 +08:00
|
|
|
zm_xhtml.php \
|
|
|
|
zm_xhtml_styles.css \
|
2006-05-05 18:55:18 +08:00
|
|
|
zm_xhtml_config.php \
|
2004-12-29 02:20:11 +08:00
|
|
|
zm_xhtml_view_console.php \
|
2006-11-09 18:51:10 +08:00
|
|
|
zm_xhtml_view_devices.php \
|
2005-11-06 00:22:33 +08:00
|
|
|
zm_xhtml_view_error.php \
|
|
|
|
zm_xhtml_view_eventdetails.php \
|
2004-12-29 02:20:11 +08:00
|
|
|
zm_xhtml_view_event.php \
|
2005-11-06 00:22:33 +08:00
|
|
|
zm_xhtml_view_events.php \
|
2004-12-29 02:20:11 +08:00
|
|
|
zm_xhtml_view_filter.php \
|
2005-11-06 00:22:33 +08:00
|
|
|
zm_xhtml_view_frame.php \
|
|
|
|
zm_xhtml_view_function.php \
|
|
|
|
zm_xhtml_view_login.php \
|
|
|
|
zm_xhtml_view_montage.php \
|
|
|
|
zm_xhtml_view_state.php \
|
2005-11-07 03:06:03 +08:00
|
|
|
zm_xhtml_view_video.php \
|
2005-11-06 00:22:33 +08:00
|
|
|
zm_xhtml_view_watch.php \
|
2004-03-15 19:10:39 +08:00
|
|
|
zm_lang.php \
|
2006-05-05 19:07:36 +08:00
|
|
|
zm_lang_big5_big5.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_lang_de_de.php \
|
|
|
|
zm_lang_en_gb.php \
|
|
|
|
zm_lang_en_us.php \
|
|
|
|
zm_lang_fr_fr.php \
|
|
|
|
zm_lang_ja_jp.php \
|
|
|
|
zm_lang_pl_pl.php \
|
|
|
|
zm_lang_ru_ru.php \
|
2004-03-15 19:10:39 +08:00
|
|
|
zm_lang_nl_nl.php \
|
2004-03-24 17:57:01 +08:00
|
|
|
zm_lang_it_it.php \
|
2004-04-21 21:13:49 +08:00
|
|
|
zm_lang_es_ar.php \
|
2005-05-06 19:45:09 +08:00
|
|
|
zm_lang_pt_br.php \
|
2006-01-14 21:37:59 +08:00
|
|
|
zm_lang_dk_dk.php \
|
2007-04-03 18:05:16 +08:00
|
|
|
zm_lang_cs_cz.php \
|
|
|
|
zm_lang_ro_ro.php
|
2002-12-10 18:58:32 +08:00
|
|
|
|
2004-02-20 17:53:56 +08:00
|
|
|
EXTRA_DIST = \
|
2004-02-19 21:02:05 +08:00
|
|
|
favicon.ico \
|
|
|
|
retag.sh \
|
|
|
|
swap.pl \
|
2004-12-29 02:20:11 +08:00
|
|
|
zm.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_actions.php \
|
2005-12-20 00:51:55 +08:00
|
|
|
zm_config.php.in \
|
2005-02-24 18:43:29 +08:00
|
|
|
zm_control_funcs.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_db.php \
|
2005-05-18 05:51:39 +08:00
|
|
|
zm_export_funcs.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_funcs.php \
|
|
|
|
zm_html.php \
|
2004-12-29 02:20:11 +08:00
|
|
|
zm_html_styles.css \
|
2006-05-05 18:55:18 +08:00
|
|
|
zm_html_config.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_bandwidth.php \
|
2005-02-24 18:43:29 +08:00
|
|
|
zm_html_view_blank.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_console.php \
|
2005-02-24 18:43:29 +08:00
|
|
|
zm_html_view_control.php \
|
|
|
|
zm_html_view_controlmenu.php \
|
|
|
|
zm_html_view_controlpanel.php \
|
|
|
|
zm_html_view_controlpreset.php \
|
|
|
|
zm_html_view_controlcaps.php \
|
|
|
|
zm_html_view_controlcap.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_cycle.php \
|
2006-11-17 04:43:27 +08:00
|
|
|
zm_html_view_device.php \
|
2006-11-09 18:51:10 +08:00
|
|
|
zm_html_view_devices.php \
|
2005-10-04 18:58:55 +08:00
|
|
|
zm_html_view_donate.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_error.php \
|
|
|
|
zm_html_view_event.php \
|
2005-05-16 20:03:28 +08:00
|
|
|
zm_html_view_eventdetail.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_events.php \
|
2005-05-18 05:51:39 +08:00
|
|
|
zm_html_view_export.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_filter.php \
|
|
|
|
zm_html_view_filtersave.php \
|
|
|
|
zm_html_view_frame.php \
|
|
|
|
zm_html_view_frames.php \
|
|
|
|
zm_html_view_function.php \
|
2006-01-24 00:25:01 +08:00
|
|
|
zm_html_view_group.php \
|
2004-10-13 17:49:11 +08:00
|
|
|
zm_html_view_groups.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_login.php \
|
|
|
|
zm_html_view_logout.php \
|
|
|
|
zm_html_view_monitor.php \
|
2006-01-01 02:08:07 +08:00
|
|
|
zm_html_view_monitorpreset.php \
|
2006-01-23 20:11:13 +08:00
|
|
|
zm_html_view_monitorselect.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_montagefeed.php \
|
|
|
|
zm_html_view_montageframe.php \
|
|
|
|
zm_html_view_montage.php \
|
2004-02-21 02:27:38 +08:00
|
|
|
zm_html_view_montagemenu.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_montagestatus.php \
|
|
|
|
zm_html_view_none.php \
|
|
|
|
zm_html_view_optionhelp.php \
|
|
|
|
zm_html_view_options.php \
|
|
|
|
zm_html_view_postlogin.php \
|
|
|
|
zm_html_view_settings.php \
|
2005-12-09 01:13:00 +08:00
|
|
|
zm_html_view_siren.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_state.php \
|
|
|
|
zm_html_view_stats.php \
|
2006-05-17 20:52:14 +08:00
|
|
|
zm_html_view_status.php \
|
2005-10-02 00:21:49 +08:00
|
|
|
zm_html_view_timeline.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_html_view_user.php \
|
|
|
|
zm_html_view_version.php \
|
|
|
|
zm_html_view_video.php \
|
|
|
|
zm_html_view_watchevents.php \
|
|
|
|
zm_html_view_watchfeed.php \
|
|
|
|
zm_html_view_watchmenu.php \
|
|
|
|
zm_html_view_watch.php \
|
|
|
|
zm_html_view_watchstatus.php \
|
|
|
|
zm_html_view_zone.php \
|
|
|
|
zm_html_view_zones.php \
|
2004-12-29 02:20:11 +08:00
|
|
|
zm_xhtml.php \
|
|
|
|
zm_xhtml_styles.css \
|
2006-05-05 18:55:18 +08:00
|
|
|
zm_xhtml_config.php \
|
2004-12-29 02:20:11 +08:00
|
|
|
zm_xhtml_view_console.php \
|
2006-11-09 18:51:10 +08:00
|
|
|
zm_xhtml_view_devices.php \
|
2005-11-06 00:22:33 +08:00
|
|
|
zm_xhtml_view_error.php \
|
|
|
|
zm_xhtml_view_eventdetails.php \
|
2004-12-29 02:20:11 +08:00
|
|
|
zm_xhtml_view_event.php \
|
2005-11-06 00:22:33 +08:00
|
|
|
zm_xhtml_view_events.php \
|
2004-12-29 02:20:11 +08:00
|
|
|
zm_xhtml_view_filter.php \
|
2005-11-06 00:22:33 +08:00
|
|
|
zm_xhtml_view_frame.php \
|
|
|
|
zm_xhtml_view_function.php \
|
|
|
|
zm_xhtml_view_login.php \
|
|
|
|
zm_xhtml_view_montage.php \
|
|
|
|
zm_xhtml_view_state.php \
|
2005-11-07 03:06:03 +08:00
|
|
|
zm_xhtml_view_video.php \
|
2005-11-06 00:22:33 +08:00
|
|
|
zm_xhtml_view_watch.php \
|
2004-03-15 19:10:39 +08:00
|
|
|
zm_lang.php \
|
2006-05-05 19:07:36 +08:00
|
|
|
zm_lang_big5_big5.php \
|
2004-02-19 21:02:05 +08:00
|
|
|
zm_lang_de_de.php \
|
|
|
|
zm_lang_en_gb.php \
|
|
|
|
zm_lang_en_us.php \
|
|
|
|
zm_lang_fr_fr.php \
|
|
|
|
zm_lang_ja_jp.php \
|
|
|
|
zm_lang_pl_pl.php \
|
|
|
|
zm_lang_ru_ru.php \
|
2004-03-15 19:10:39 +08:00
|
|
|
zm_lang_nl_nl.php \
|
2004-03-24 17:57:01 +08:00
|
|
|
zm_lang_it_it.php \
|
2004-04-21 21:13:49 +08:00
|
|
|
zm_lang_es_ar.php \
|
2005-05-06 19:45:09 +08:00
|
|
|
zm_lang_pt_br.php \
|
2006-01-14 21:37:59 +08:00
|
|
|
zm_lang_dk_dk.php \
|
2007-04-03 18:05:16 +08:00
|
|
|
zm_lang_cs_cz.php \
|
|
|
|
zm_lang_ro_ro.php
|
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:
|
2004-12-29 00:46:48 +08:00
|
|
|
( cd $(DESTDIR)$(webdir); chown $(webuser):$(webgroup) $(web_DATA) )
|
|
|
|
@-( cd $(DESTDIR)$(webdir); if ! test -e events; then mkdir events; fi; chown $(webuser):$(webgroup) events; chmod u+w events )
|
2005-02-24 18:43:29 +08:00
|
|
|
@-( cd $(DESTDIR)$(webdir); if ! test -e graphics; then mkdir graphics; fi; chown $(webuser):$(webgroup) graphics; chmod u+w graphics )
|
2004-12-29 00:46:48 +08:00
|
|
|
@-( cd $(DESTDIR)$(webdir); if ! test -e images; then mkdir images; fi; chown $(webuser):$(webgroup) images; chmod u+w images )
|
|
|
|
@-( cd $(DESTDIR)$(webdir); if ! test -e sounds; then mkdir sounds; fi; chown $(webuser):$(webgroup) sounds; chmod u+w sounds )
|
|
|
|
@-( cd $(DESTDIR)$(webdir); if ! test -e temp; then mkdir temp; fi; chown $(webuser):$(webgroup) temp; chmod u+w temp )
|
|
|
|
-( cd $(DESTDIR)$(webdir); ln -s zm.php index.php )
|
2003-07-11 17:27:56 +08:00
|
|
|
|
2005-11-16 18:24:03 +08:00
|
|
|
uninstall-hook:
|
|
|
|
@-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp )
|