aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-06-12 13:45:21 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-06-12 13:45:21 +0000
commita1bdba06b6ecdb1fd0af30112991c7a962b44568 (patch)
tree341f244430dc3728522191518af49da3ccf3cb9e /etc
parentf6cb66505019e29f77d6fbc123759bdd42c83c9f (diff)
downloadmailfromd-a1bdba06b6ecdb1fd0af30112991c7a962b44568.tar.gz
mailfromd-a1bdba06b6ecdb1fd0af30112991c7a962b44568.tar.bz2
Install mailfromd.rc
git-svn-id: file:///svnroot/mailfromd/trunk@101 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/Makefile.am b/etc/Makefile.am
index e0bcf3bf..be7f5200 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -24,4 +24,10 @@ CLEANFILES = rc.mailfromd
.in.mailfromd:
f=$(libexecdir)/`echo "mailfromd" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
- sed "s,<DEFAULT_PIDFILE>,$(DEFAULT_PIDFILE),;s,<DEFAULT_DAEMON>,$$f," $< > $@ \ No newline at end of file
+ sed "s,<DEFAULT_PIDFILE>,$(DEFAULT_PIDFILE),;s,<DEFAULT_DAEMON>,$$f," $< > $@
+
+install-data-local:
+ @test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
+ if [ -r $(DESTDIR)$(sysconfdir)/mailfromd.rc ]; then :; \
+ else ${INSTALL} -m 644 $(top_srcdir)/etc/mailfromd.rc \
+ $(DESTDIR)$(sysconfdir)/mailfromd.rc; fi

Return to:

Send suggestions and report system problems to the System administrator.