From ec33d1de70add8a5824a08804c1a245068c168de Mon Sep 17 00:00:00 2001 From: stan Date: Thu, 2 Jan 2003 12:11:42 +0000 Subject: [PATCH] zmaudit and zmfilter are now generated files. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@222 e3e1d417-86f3-4887-817a-d78f3d33393f --- scripts/Makefile.in | 9 +++++++-- scripts/zmaudit.pl.z | 2 +- scripts/zmfilter.pl.z | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/Makefile.in b/scripts/Makefile.in index 29bcc641a..6d9066b59 100644 --- a/scripts/Makefile.in +++ b/scripts/Makefile.in @@ -78,10 +78,11 @@ bin_SCRIPTS = zmdc.pl zmaudit.pl zmfilter.pl zmx10.pl EXTRA_DIST = $(bin_SCRIPTS) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = zmdc.pl zmx10.pl +CONFIG_CLEAN_FILES = zmdc.pl zmx10.pl zmaudit.pl zmfilter.pl SCRIPTS = $(bin_SCRIPTS) -DIST_COMMON = Makefile.am Makefile.in zmdc.pl.in zmx10.pl.in +DIST_COMMON = Makefile.am Makefile.in zmaudit.pl.in zmdc.pl.in \ +zmfilter.pl.in zmx10.pl.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) @@ -101,6 +102,10 @@ zmdc.pl: $(top_builddir)/config.status zmdc.pl.in cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status zmx10.pl: $(top_builddir)/config.status zmx10.pl.in cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status +zmaudit.pl: $(top_builddir)/config.status zmaudit.pl.in + cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status +zmfilter.pl: $(top_builddir)/config.status zmfilter.pl.in + cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) diff --git a/scripts/zmaudit.pl.z b/scripts/zmaudit.pl.z index d55bdd6c7..4cf2260b8 100755 --- a/scripts/zmaudit.pl.z +++ b/scripts/zmaudit.pl.z @@ -38,7 +38,7 @@ use constant DB_NAME => "zm"; use constant DB_USER => "zmadmin"; use constant DB_PASS => "zmadminzm"; -use constant EVENT_PATH => "/data/zm/events"; +use constant EVENT_PATH => "@WEB_PREFIX@/events"; use constant LOG_FILE => '/tmp/zmaudit.log'; # ========================================================================== diff --git a/scripts/zmfilter.pl.z b/scripts/zmfilter.pl.z index 544fccff6..ed04d87db 100755 --- a/scripts/zmfilter.pl.z +++ b/scripts/zmfilter.pl.z @@ -36,7 +36,7 @@ use constant DB_NAME => "zm"; use constant DB_USER => "zmadmin"; use constant DB_PASS => "zmadminzm"; use constant ZM_SHM_KEY => 0x7a6d2000; -use constant EVENT_PATH => "/data/zm/events"; +use constant EVENT_PATH => "@WEB_PREFIX@/events"; use constant FILTER_RELOAD_DELAY => 300; # How often filters are reloaded use constant LOG_FILE => '/tmp/zmfilter-%d.log';