summaryrefslogtreecommitdiff
path: root/textproc/namazu2/patches/patch-ab
blob: 2c7250fc20f0775f6b3a362432837627944a83b9 (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
$NetBSD: patch-ab,v 1.2 2004/05/06 13:40:21 taca Exp $

--- conf/Makefile.in.orig	2004-04-14 03:09:01.000000000 +0900
+++ conf/Makefile.in
@@ -25,7 +25,7 @@ bindir = @bindir@
 sbindir = @sbindir@
 libexecdir = @libexecdir@
 datadir = @datadir@
-sysconfdir = @sysconfdir@
+sysconfdir = $(datadir)
 sharedstatedir = @sharedstatedir@
 localstatedir = @localstatedir@
 libdir = @libdir@
@@ -133,9 +133,9 @@ lispdir = @lispdir@
 AUTOMAKE_OPTIONS = 1.4 no-dependencies
 
 confdir = $(sysconfdir)/$(PACKAGE)
-conf_DATA = namazurc-sample mknmzrc-sample
+conf_DATA = namazurc.example mknmzrc.example
 EXTRA_DIST = namazurc-sample
-CLEANFILES = mknmzrc-sample
+CLEANFILES = namazurc.example mknmzrc.example
 subdir = conf
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/config.h
@@ -290,7 +290,10 @@ uninstall-am: uninstall-confDATA uninsta
 	uninstall-info-am
 
 
-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.
 # Otherwise a system limit (for SysV at least) may be exceeded.