masqmail

diff Makefile.am @ 419:d209b4846f2b

The pid files goes to /var/run/masqmail.pid now. Added --with-piddir. Now we can change the pid dir to /run on system that did this transition.
author markus schnalke <meillo@marmaro.de>
date Tue, 29 May 2012 21:35:17 +0200
parents d364fea755b4
children f37384470855
line diff
     1.1 --- a/Makefile.am	Tue May 29 21:33:49 2012 +0200
     1.2 +++ b/Makefile.am	Tue May 29 21:35:17 2012 +0200
     1.3 @@ -2,9 +2,9 @@
     1.4  
     1.5  SUBDIRS = src man
     1.6  
     1.7 -install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir doc_dir rmail
     1.8 +install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir pid_dir doc_dir rmail
     1.9  
    1.10 -uninstall-local: rm-rmail rm-doc_dir rm-tpl_dir rm-conf_dir rm-run_dir rm-spool_dir rm-log_dir
    1.11 +uninstall-local: rm-rmail rm-doc_dir rm-tpl_dir rm-conf_dir rm-pid_dir rm-spool_dir rm-log_dir
    1.12  
    1.13  
    1.14  conf_dir:
    1.15 @@ -37,11 +37,11 @@
    1.16  	rmdir $(DESTDIR)@docdir@
    1.17  
    1.18  
    1.19 -run_dir:
    1.20 -	install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail
    1.21 +pid_dir:
    1.22 +	install -d $(DESTDIR)@with_piddir@
    1.23  
    1.24 -rm-run_dir:
    1.25 -	rm -rf $(DESTDIR)/var/run/masqmail
    1.26 +rm-pid_dir:
    1.27 +	rm -rf $(DESTDIR)@with_piddir@
    1.28  
    1.29  
    1.30  log_dir:
    1.31 @@ -73,5 +73,5 @@
    1.32  	rm -f $(DESTDIR)@prefix@/sbin/rmail
    1.33  
    1.34  
    1.35 -uid_bit: $(DESTDIR)@prefix@/sbin/masqmail
    1.36 +uid_bit:
    1.37  	chmod u+s $(DESTDIR)@prefix@/sbin/masqmail