zmaudit and zmfilter are now generated files.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@222 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-01-02 12:11:42 +00:00
parent 5ae721ad73
commit ec33d1de70
3 changed files with 9 additions and 4 deletions

View File

@ -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)

View File

@ -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';
# ==========================================================================

View File

@ -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';