openbsd-ports/devel/nasm/patches/patch-doc_Makefile.in
2005-01-27 02:09:52 +00:00

44 lines
1.1 KiB
Plaintext

$OpenBSD: patch-doc_Makefile.in,v 1.3 2005/01/27 02:09:52 naddy Exp $
--- doc/Makefile.in.orig Sun May 19 00:17:28 2002
+++ doc/Makefile.in Thu Jan 27 02:41:55 2005
@@ -22,7 +22,7 @@ TEXI2DVI = texi2dvi
PS2PDF = ps2pdf -dOptimize=true # Part of GhostScript
SRCS = nasmdoc.src
-OUT = nasm.info nasmdoc.ps nasmdoc.pdf
+OUT = nasm.info # nasmdoc.ps nasmdoc.pdf # don't build ps and pdf
all: $(OUT)
@@ -31,7 +31,7 @@ os2: nasm.inf
# Consider html, txt and ps output a side effect
nasmdoc.dip: nasmdoc.src rdsrc.pl
mkdir -p html
- $(PERL) $(srcdir)/rdsrc.pl < $<
+ $(PERL) $(srcdir)/rdsrc.pl < $(srcdir)/nasmdoc.src
mv -f *.html html
nasmdoc.texi: nasmdoc.dip
@@ -48,7 +48,7 @@ nasm.info: info/nasm.info
info/nasm.info: nasmdoc.texi
mkdir -p info
- $(MAKEINFO) $<
+ $(MAKEINFO) $?
mv -f *.info *.info-* info
# DVI output from texinfo (optional)
@@ -57,10 +57,10 @@ nasmdoc.dvi: nasmdoc.texi
# Rules for building an OS/2 book
nasmdoc.ipf: nasmdoc.texi
- texi2ipf $< >$@
+ texi2ipf $? >$@
nasm.inf: nasmdoc.ipf
- ipfc -i -s $< $@
+ ipfc -i -s $? $@
clean:
-rm -f *.rtf *.hpj *.texi *.gid *.ipf *.dip