summaryrefslogtreecommitdiff
blob: c1717e43902fb661f5e7957db8289d440101c29f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- xinetd-2.3.14/Makefile.in
+++ xinetd-2.3.14/Makefile.in
@@ -9,6 +9,7 @@
 DESTDIR = 
 prefix = @prefix@
 exec_prefix = @exec_prefix@
+ETCDIR = @sysconfdir@
 DAEMONDIR = @sbindir@
 MANDIR = @mandir@
 topdir = @top_srcdir@
@@ -97,7 +98,12 @@
 	rm -f $(MANDIR)/man8/xinetd.log.8
 	rm -f $(MANDIR)/man8/xinetd.8
 	rm -f $(MANDIR)/man8/itox.8
- 
+
+install-contrib:
+	test -d $(DESTDIR)$(ETCDIR)/xinetd.d || mkdir -p $(DESTDIR)$(ETCDIR)/xinetd.d
+	$(INSTALL_CMD) -m 644 contrib/xinetd.conf $(DESTDIR)$(ETCDIR)
+	$(INSTALL_CMD) -m 644 contrib/xinetd.d/* $(DESTDIR)$(ETCDIR)/xinetd.d
+
 distclean: clean
 	rm -f config.cache config.log Makefile config.status xinetd/itox
 	rm -f config.h @srcdir@/libs/include/* @srcdir@/libs/man/*