3cc5a0dc26
- moves to a BSD license - slight alteration of port semantics prodded and ok'd by maintainer ok merdely@
79 lines
2.2 KiB
Plaintext
79 lines
2.2 KiB
Plaintext
--- doc/Makefile.in.orig Mon Jul 20 01:22:29 2009
|
|
+++ doc/Makefile.in Wed Jul 22 21:34:37 2009
|
|
@@ -8,7 +8,7 @@ prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
bindir = @bindir@
|
|
mandir = @mandir@
|
|
-docdir = $(prefix)/doc/nasm
|
|
+docdir = $(prefix)/share/doc/nasm
|
|
infodir = @infodir@
|
|
datarootdir = @datarootdir@
|
|
|
|
@@ -27,12 +27,8 @@ PSTOPDF = @PSTOPDF@ # BSD/MacOS X utility
|
|
PS2PDF = @PS2PDF@ # Part of GhostScript
|
|
|
|
SRCS = nasmdoc.src inslist.src changes.src
|
|
-OUT = info html nasmdoc.txt nasmdoc.ps nasmdoc.pdf
|
|
+OUT = info html nasmdoc.txt # nasmdoc.ps nasmdoc.pdf
|
|
|
|
-# exports
|
|
-export srcdir
|
|
-export PERL
|
|
-
|
|
all: $(OUT)
|
|
|
|
os2: nasm.inf
|
|
@@ -45,17 +41,17 @@ html: html/nasmdoc0.html
|
|
|
|
html/nasmdoc0.html: $(SRCS) rdsrc.pl
|
|
mkdir -p html
|
|
- $(PERL) $(srcdir)/rdsrc.pl html < $<
|
|
+ $(PERL) $(srcdir)/rdsrc.pl html < $(srcdir)/nasmdoc.src
|
|
mv -f *.html html
|
|
|
|
nasmdoc.dip: $(SRCS) rdsrc.pl
|
|
- $(PERL) $(srcdir)/rdsrc.pl dip < $<
|
|
+ $(PERL) $(srcdir)/rdsrc.pl dip < $(srcdir)/nasmdoc.src
|
|
|
|
nasmdoc.texi: $(SRCS) rdsrc.pl
|
|
- $(PERL) $(srcdir)/rdsrc.pl texi < $<
|
|
+ $(PERL) $(srcdir)/rdsrc.pl texi < $(srcdir)/nasmdoc.src
|
|
|
|
nasmdoc.txt: $(SRCS) rdsrc.pl
|
|
- $(PERL) $(srcdir)/rdsrc.pl txt < $<
|
|
+ $(PERL) $(srcdir)/rdsrc.pl txt < $(srcdir)/nasmdoc.src
|
|
|
|
nasmdoc.ps: nasmdoc.dip nasmlogo.eps $(srcdir)/../version genpsdriver.pl \
|
|
genps.pl psfonts.ph pswidth.ph head.ps
|
|
@@ -71,7 +67,7 @@ info: info/nasm.info
|
|
|
|
info/nasm.info: nasmdoc.texi
|
|
mkdir -p info
|
|
- $(MAKEINFO) $<
|
|
+ $(MAKEINFO) $?
|
|
mv -f *.info *.info-* info
|
|
|
|
# DVI output from texinfo (optional)
|
|
@@ -80,13 +76,12 @@ 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
|
|
-rm -f *.aux *.cp *.fn *.ky *.pg *.log *.toc *.tp *.vr
|
|
|
|
spotless: clean
|
|
@@ -99,4 +94,4 @@ install: all
|
|
$(INSTALL_DATA) info/* $(INSTALLROOT)$(infodir)
|
|
mkdir -p $(INSTALLROOT)$(docdir)/html
|
|
$(INSTALL_DATA) html/* $(INSTALLROOT)$(docdir)/html
|
|
- $(INSTALL_DATA) nasmdoc.ps nasmdoc.pdf nasmdoc.txt $(INSTALLROOT)$(docdir)
|
|
+ $(INSTALL_DATA) internal.doc nasmdoc.txt $(INSTALLROOT)$(docdir)
|