blob: fc11f7bd98e667305c8cb0e00371fb12b6ac7233 (
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
|
$NetBSD: patch-ab,v 1.5 2011/11/11 18:58:14 joerg Exp $
--- Makefile.in.orig 2007-08-08 09:48:58.000000000 -0600
+++ Makefile.in
@@ -1285,33 +1285,10 @@
install-data-local:
- $(INSTALL) -m 700 -d $(DESTDIR)$(metadata_dir)
- @if test -f $(DESTDIR)$(configdir)/prelude-lml.conf; then \
- echo "********************************************************************************"; \
- echo; \
- echo "$(DESTDIR)$(configdir)/prelude-lml.conf already exist..."; \
- echo "Installing default configuration in $(DESTDIR)$(configdir)/prelude-lml.conf-dist"; \
- echo; \
- echo "********************************************************************************"; \
- $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/prelude-lml.conf-dist; \
- else \
- $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/; \
- fi
- @if test -f $(DESTDIR)$(configdir)/plugins.rules; then \
- echo "********************************************************************************"; \
- echo; \
- echo "$(DESTDIR)$(configdir)/plugins.rules already exist..."; \
- echo "Installing default configuration in $(DESTDIR)$(configdir)/plugins.rules-dist"; \
- echo; \
- echo "********************************************************************************"; \
- $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/plugins.rules-dist; \
- else \
- $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/; \
- fi
+ $(BSD_INSTALL_DATA) $(top_srcdir)/prelude-lml.conf ${DESTDIR}@EGDIR@
+ $(BSD_INSTALL_DATA) $(top_srcdir)/plugins.rules ${DESTDIR}@EGDIR@
uninstall-local:
- rm -f $(DESTDIR)$(configdir)/prelude-lml.conf; \
- rm -f $(DESTDIR)$(configdir)/plugin.rules;
dist-hook:
@if test -d "$(srcdir)/.git"; then \
|