37 lines
1.2 KiB
Plaintext
Executable File
37 lines
1.2 KiB
Plaintext
Executable File
$OpenBSD: patch-fax_Makefile,v 1.2 2007/06/15 11:30:38 ajacoutot Exp $
|
|
--- fax/Makefile.orig Wed Feb 22 18:25:30 2006
|
|
+++ fax/Makefile Fri Jun 15 11:26:19 2007
|
|
@@ -54,19 +54,19 @@ install: all
|
|
#
|
|
-for i in $(FAX_SCRIPTS); do \
|
|
mv -f $(BINDIR)/$$i $(BINDIR)/$$i.old 2>/dev/null ; \
|
|
- $(INSTALL) -m 755 $$i $(BINDIR) ; \
|
|
+ $(BSD_INSTALL_SCRIPT) $$i $(BINDIR) ; \
|
|
done
|
|
- $(INSTALL) -m 755 faxrunqd $(SBINDIR)
|
|
- $(INSTALL) faxq-helper $(LIBDIR)
|
|
+ $(BSD_INSTALL_SCRIPT) faxrunqd $(SBINDIR)
|
|
+ $(BSD_INSTALL_PROGRAM) faxq-helper $(LIBDIR)
|
|
chown $(FAX_OUT_USER) $(LIBDIR)/faxq-helper
|
|
chmod 4711 $(LIBDIR)/faxq-helper
|
|
#
|
|
# data files
|
|
#
|
|
- $(INSTALL) -m 644 cour25.pbm $(LIBDIR)
|
|
- $(INSTALL) -m 644 cour25n.pbm $(LIBDIR)
|
|
- -test -f $(CONFDIR)/faxheader || \
|
|
- $(INSTALL) -m 644 faxheader $(CONFDIR)
|
|
+ $(BSD_INSTALL_DATA) cour25.pbm $(LIBDIR)
|
|
+ $(BSD_INSTALL_DATA) cour25n.pbm $(LIBDIR)
|
|
+# -test -f $(CONFDIR)/faxheader || \
|
|
+ $(BSD_INSTALL_DATA) faxheader ${PREFIX}/share/examples/mgetty+sendfax
|
|
#
|
|
# /etc/magic
|
|
#
|
|
@@ -79,4 +79,4 @@ install: all
|
|
#
|
|
# faxspool.rules sample file
|
|
#
|
|
- $(INSTALL) -m 644 faxspool.rules $(CONFDIR)/faxspool.rules.sample
|
|
+ $(BSD_INSTALL_DATA) faxspool.rules ${PREFIX}/share/examples/mgetty+sendfax/faxspool.rules.sample
|