diff Makefile.in @ 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 5781ba87df95
children f37384470855
line wrap: on
line diff
--- a/Makefile.in	Tue May 29 21:33:49 2012 +0200
+++ b/Makefile.in	Tue May 29 21:35:17 2012 +0200
@@ -200,6 +200,7 @@
 with_confdir = @with_confdir@
 with_group = @with_group@
 with_logdir = @with_logdir@
+with_piddir = @with_piddir@
 with_spooldir = @with_spooldir@
 with_user = @with_user@
 EXTRA_DIST = examples docs man tpl devel
@@ -689,9 +690,9 @@
 	uninstall uninstall-am uninstall-local
 
 
-install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir doc_dir rmail
+install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir pid_dir doc_dir rmail
 
-uninstall-local: rm-rmail rm-doc_dir rm-tpl_dir rm-conf_dir rm-run_dir rm-spool_dir rm-log_dir
+uninstall-local: rm-rmail rm-doc_dir rm-tpl_dir rm-conf_dir rm-pid_dir rm-spool_dir rm-log_dir
 
 conf_dir:
 	install -d $(DESTDIR)@with_confdir@
@@ -720,11 +721,11 @@
 	)
 	rmdir $(DESTDIR)@docdir@
 
-run_dir:
-	install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail
+pid_dir:
+	install -d $(DESTDIR)@with_piddir@
 
-rm-run_dir:
-	rm -rf $(DESTDIR)/var/run/masqmail
+rm-pid_dir:
+	rm -rf $(DESTDIR)@with_piddir@
 
 log_dir:
 	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@
@@ -753,7 +754,7 @@
 rm-rmail:
 	rm -f $(DESTDIR)@prefix@/sbin/rmail
 
-uid_bit: $(DESTDIR)@prefix@/sbin/masqmail
+uid_bit:
 	chmod u+s $(DESTDIR)@prefix@/sbin/masqmail
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.