blob: 8bd56f120a3f3a98c5db3e7509dfc06cd748dad4 (
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
|
$NetBSD: patch-ai,v 1.1 2001/06/21 17:02:24 fredb Exp $
--- fax/Makefile.orig Sat Jul 24 16:27:24 1999
+++ fax/Makefile
@@ -9,6 +9,9 @@
FAX_SCRIPTS=faxspool faxrunq faxq faxrm
+CONFDIR=${MGETTY_CONFDIR}
+CONF_EXAMPLES_DIR=${PREFIX}/share/examples/mgetty+sendfax
+
all: $(FAX_SCRIPTS) faxrunqd faxheader
faxspool: faxspool.in ../sedscript
@@ -53,8 +56,8 @@
#
$(INSTALL) -m 644 cour25.pbm $(LIBDIR)
$(INSTALL) -m 644 cour25n.pbm $(LIBDIR)
- -test -f $(CONFDIR)/faxheader || \
- $(INSTALL) -m 644 faxheader $(CONFDIR)
+ -test -f $(CONF_EXAMPLES_DIR)/faxheader || \
+ $(INSTALL) -m 644 faxheader $(CONF_EXAMPLES_DIR)
#
# /etc/magic
#
@@ -67,4 +70,4 @@
#
# faxspool.rules sample file
#
- $(INSTALL) -m 644 faxspool.rules $(CONFDIR)/faxspool.rules.sample
+ $(INSTALL) -m 644 faxspool.rules $(CONF_EXAMPLES_DIR)/faxspool.rules.sample
|