$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