summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/patches/patch-ad
blob: 1290b48e3b58c1358263961b5bb703fea9b5288c (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
$NetBSD: patch-ad,v 1.7 2005/09/03 16:57:07 tonio Exp $

--- contrib/Makefile.in.orig	2005-09-03 12:03:36.000000000 +0200
+++ contrib/Makefile.in	2005-09-03 12:07:09.000000000 +0200
@@ -39,21 +39,20 @@
 check:
 
 install:
-	$(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/samples $(DESTDIR)$(docdir)/samples/iconv
+	$(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir) $(DESTDIR)$(sysconfdir)/iconv
 	for f in $(SAMPLES) ; do \
-		$(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir)/samples ;	\
+		$(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(sysconfdir) ;	\
 	done
 	for f in $(srcdir)/iconv/*.rc ; do					\
-		$(INSTALL) -m 644 $$f $(DESTDIR)$(docdir)/samples/iconv	  ;	\
+		$(INSTALL) -m 644 $$f $(DESTDIR)$(sysconfdir)/iconv	  ;	\
 	done
 
 uninstall:
 	for f in $(SAMPLES) ; do \
-		rm -f $(DESTDIR)$(docdir)/samples/$$f ; \
+		rm -f $(DESTDIR)$(sysconfdir)/$$f ; \
 	done
-	-rm -rf $(DESTDIR)$(docdir)/samples/iconv
-	-rmdir $(DESTDIR)$(docdir)/samples
-	-rmdir $(DESTDIR)$(docdir)
+	-rm -rf $(DESTDIR)$(sysconfdir)/iconv
+	-rmdir $(DESTDIR)$(sysconfdir)
 
 maintainer-clean: distclean