summaryrefslogtreecommitdiff
path: root/security/prelude-manager/patches/patch-ab
blob: e28278e686bf1098a846a3c4a7b00eb53d9dc36d (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
$NetBSD: patch-ab,v 1.3 2009/08/24 18:32:22 hasso Exp $

--- Makefile.in.orig	2009-07-20 23:35:10 +0200
+++ Makefile.in	2009-07-20 23:41:18 +0200
@@ -1208,21 +1208,8 @@
 
 
 install-data-local:
-	$(INSTALL) -d -m 700 $(DESTDIR)$(configdir);
-	$(INSTALL) -d -m 700 $(DESTDIR)$(manager_run_dir);
-	$(INSTALL) -d -m 700 $(DESTDIR)$(manager_scheduler_dir);
-	$(INSTALL) -d -m 700 $(DESTDIR)$(manager_failover_dir);
-	@if test -f $(DESTDIR)$(configdir)/prelude-manager.conf; then                                                    \
-		$(INSTALL) -m 600 $(top_builddir)/prelude-manager.conf $(DESTDIR)$(configdir)/prelude-manager.conf-dist; \
-		echo "********************************************************************************";     		 \
-		echo;											     		 \
-		echo "$(DESTDIR)$(configdir)/prelude-manager.conf already exist...";                                     \
-		echo "Installing default configuration in $(DESTDIR)$(configdir)/prelude-manager.conf-dist";             \
-		echo;                                                                                        		 \
-		echo "********************************************************************************";     		 \
-	else                                                                                                 		 \
-		$(INSTALL) -m 600 $(top_builddir)/prelude-manager.conf $(DESTDIR)$(configdir)/;                          \
-	fi                                                                                                   
+	$(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/share/examples/prelude-manager;
+	$(INSTALL) -m 600 $(top_builddir)/prelude-manager.conf $(DESTDIR)$(prefix)/share/examples/prelude-manager/;
 
 dist-hook:
 	@if test -d "$(srcdir)/.git"; then      \