Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / prelude-manager / patches / patch-ab
blob1328f9b489866fbc6290425b1f743ead5b91a9e1
1 $NetBSD: patch-ab,v 1.2 2008/07/21 12:12:15 shannonjr Exp $
3 --- Makefile.in.orig    2009-07-20 23:35:10 +0200
4 +++ Makefile.in 2009-07-20 23:41:18 +0200
5 @@ -1208,21 +1208,8 @@
6  
7  
8  install-data-local:
9 -       $(INSTALL) -d -m 700 $(DESTDIR)$(configdir);
10 -       $(INSTALL) -d -m 700 $(DESTDIR)$(manager_run_dir);
11 -       $(INSTALL) -d -m 700 $(DESTDIR)$(manager_scheduler_dir);
12 -       $(INSTALL) -d -m 700 $(DESTDIR)$(manager_failover_dir);
13 -       @if test -f $(DESTDIR)$(configdir)/prelude-manager.conf; then                                                    \
14 -               $(INSTALL) -m 600 $(top_builddir)/prelude-manager.conf $(DESTDIR)$(configdir)/prelude-manager.conf-dist; \
15 -               echo "********************************************************************************";                 \
16 -               echo;                                                                                                    \
17 -               echo "$(DESTDIR)$(configdir)/prelude-manager.conf already exist...";                                     \
18 -               echo "Installing default configuration in $(DESTDIR)$(configdir)/prelude-manager.conf-dist";             \
19 -               echo;                                                                                                    \
20 -               echo "********************************************************************************";                 \
21 -       else                                                                                                             \
22 -               $(INSTALL) -m 600 $(top_builddir)/prelude-manager.conf $(DESTDIR)$(configdir)/;                          \
23 -       fi                                                                                                   
24 +       $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/share/examples/prelude-manager;
25 +       $(INSTALL) -m 600 $(top_builddir)/prelude-manager.conf $(DESTDIR)$(prefix)/share/examples/prelude-manager/;
27  dist-hook:
28         @if test -d "$(srcdir)/.git"; then      \