$NetBSD: patch-ai,v 1.3 2005/03/07 11:29:28 wiz Exp $ --- fax/Makefile.orig 2003-10-09 14:38:49.000000000 +0200 +++ fax/Makefile @@ -12,6 +12,9 @@ FAX_SCRIPTS=faxspool faxrunq faxq faxrm zigzag: cd .. ; $(MAKE) subdirs +CONFDIR=${MGETTY_CONFDIR} +CONF_EXAMPLES_DIR=${PREFIX}/share/examples/mgetty+sendfax + all: $(FAX_SCRIPTS) faxrunqd faxheader faxq-helper faxspool: faxspool.in ../sedscript @@ -68,8 +71,8 @@ install: all # $(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 # @@ -82,4 +85,4 @@ install: all # # faxspool.rules sample file # - $(INSTALL) -m 644 faxspool.rules $(CONFDIR)/faxspool.rules.sample + $(INSTALL) -m 644 faxspool.rules $(CONF_EXAMPLES_DIR)/faxspool.rules.sample