Bug 237 - Added /var/run/zm creation/destruction

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1717 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-12-22 14:40:18 +00:00
parent 3aff14ed63
commit ebac915ae1
1 changed files with 5 additions and 0 deletions

View File

@ -22,4 +22,9 @@ EXTRA_DIST = \
# Yes, you are correct. This is a HACK!
install-data-hook:
( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) )
-( if ! test -e $(RUNDIR); then mkdir $(RUNDIR); fi )
( if ! test -e $(ZM_RUNDIR); then mkdir $(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR) )
uninstall-hook:
@-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp )
@-( rm -rf $(ZM_RUNDIR) )