summaryrefslogtreecommitdiff
path: root/chat/silc-server/patches/patch-aa
blob: 9db912452b9532619a815d7b2c8be0a0641faef1 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
$NetBSD: patch-aa,v 1.10 2005/06/19 01:22:17 salo Exp $

--- apps/silcd/Makefile.in.orig	2005-05-10 18:59:04.000000000 +0200
+++ apps/silcd/Makefile.in	2005-06-19 02:36:04.000000000 +0200
@@ -581,13 +581,10 @@
 
 install-dirs-server:
 	-mkdir -p $(docdir)
-	-mkdir -p $(etcdir)
-	-mkdir -p $(logsdir)
 	-mkdir -p $(mandir)/man5
 	-mkdir -p $(mandir)/man8
 
 doc-install-server:
-	-$(INSTALL_DATA) $(top_srcdir)/doc/example_silcd.conf $(docdir)/
 	-@if test -f $(top_srcdir)/doc/silcd.8 ; then \
 	 $(INSTALL_DATA) $(top_srcdir)/doc/silcd.8 $(mandir)/man8; \
 	fi
@@ -605,8 +602,10 @@
 	fi
 
 examples-install:
-	-mkdir -p $(docdir)/examples/
-	-$(INSTALL_DATA) $(top_srcdir)/doc/examples/* $(docdir)/examples/
+	-mkdir -p $(examplesdir)
+	-$(INSTALL_DATA) $(top_srcdir)/doc/examples/* $(examplesdir)/
+	-$(INSTALL_DATA) $(top_srcdir)/doc/example_silcd.conf $(examplesdir)/silcd.conf.default
+	-$(INSTALL_DATA) $(top_srcdir)/doc/silcalgs.conf $(examplesdir)/silcalgs.conf.default
 
 generate-server-key:
 	-@if test '!' -f $(etcdir)/silcd.pub ; then \
@@ -616,9 +615,7 @@
 install-data-hook: 		\
 	install-dirs-server 	\
 	doc-install-server	\
-	etc-install-server 	\
-	examples-install 	\
-	generate-server-key
+	examples-install
 
 @INCLUDE_DEFINES_INT@