openbsd-ports/comms/mgetty+sendfax/patches/patch-doc_Makefile
2007-06-15 11:30:38 +00:00

49 lines
1.5 KiB
Plaintext
Executable File

$OpenBSD: patch-doc_Makefile,v 1.3 2007/06/15 11:30:38 ajacoutot Exp $
--- doc/Makefile.orig Wed Feb 22 18:35:02 2006
+++ doc/Makefile Fri Jun 15 11:26:19 2007
@@ -26,7 +26,7 @@ MAN_FMT_PRG=$(NROFF) -man
all:
-doc-all: mgetty.asc mgetty.info mgetty.dvi mgetty.ps fmt-manpages $(MANSRC)
+doc-all: mgetty.info fmt-manpages $(MANSRC)
manpages: $(MANSRC)
@@ -43,7 +43,7 @@ mgetty.html: mgetty.texi
-texi2html -verbose mgetty.texi
mgetty.info: mgetty.texi
- -makeinfo mgetty.texi
+ -makeinfo --no-split mgetty.texi
mgetty.ps: mgetty.dvi
-dvips -o mgetty.ps mgetty.dvi
@@ -65,21 +65,21 @@ clean:
install: $(MANSRC) mgetty.info
-mkdir `dirname $(MAN1DIR)` $(MAN1DIR) $(MAN4DIR) $(MAN5DIR) $(MAN8DIR) 2>/dev/null
for i in $(MAN1PAGES) ; do \
- $(INSTALL) -m 644 $$i $(MAN1DIR) ; \
+ $(BSD_INSTALL_MAN) $$i $(MAN1DIR) ; \
done
for i in $(MAN4PAGES) ; do \
- $(INSTALL) -m 644 $$i $(MAN4DIR) ; \
+ $(BSD_INSTALL_MAN) $$i $(MAN4DIR) ; \
done
for i in $(MAN5PAGES) ; do \
- $(INSTALL) -m 644 $$i $(MAN5DIR) ; \
+ $(BSD_INSTALL_MAN) $$i $(MAN5DIR) ; \
done
for i in $(MAN8PAGES) ; do \
- $(INSTALL) -m 644 $$i $(MAN8DIR) ; \
+ $(BSD_INSTALL_MAN) $$i $(MAN8DIR) ; \
done
if [ -f mgetty.info ] ; then\
test -d $(INFODIR) || mkdir $(INFODIR) 2>/dev/null ; \
for i in mgetty.info* ; do \
- $(INSTALL) -m 644 $$i $(INFODIR) ; \
+ $(BSD_INSTALL_MAN) $$i $(INFODIR) ; \
done ; \
else \
echo "mgetty.info not made, skipping" ; \