summaryrefslogtreecommitdiff
path: root/textproc/namazu2/patches/patch-ab
blob: 3b0456e5225457c4f26f363559aacb75470e0711 (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
$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 13:01:41 seb Exp $

--- conf/Makefile.in.orig	Thu Dec 27 14:06:04 2001
+++ conf/Makefile.in
@@ -117,10 +117,10 @@
 
 AUTOMAKE_OPTIONS = 1.4 no-dependencies
 
-confdir = $(sysconfdir)/$(PACKAGE)
-conf_DATA = namazurc-sample mknmzrc-sample
+confdir = $(pkgdatadir)
+conf_DATA = namazurc.example mknmzrc.example
 EXTRA_DIST = namazurc-sample
-CLEANFILES = mknmzrc-sample
+CLEANFILES = namazurc.example mknmzrc.example
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = ../config.h
 CONFIG_CLEAN_FILES = 
@@ -244,7 +244,10 @@
 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
 
 
-mknmzrc-sample: ../pl/conf.pl
+namazurc.example: namazurc-sample
+	@cp -p $? $@
+
+mknmzrc.example: ../pl/conf.pl
 	perl -pe 's/^/\x23 / unless /^(\x23|package|$$)/' ../pl/conf.pl > $@
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.