aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.in
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2006-02-04 00:23:30 +0000
committerEric Christopher <echristo@apple.com>2006-02-04 00:23:30 +0000
commit1e0de6e913af8c1e9d65121c880960752fd4f190 (patch)
treee177ca8e19614b076647b76bfae5c5cd9010a555 /doc/Makefile.in
parenta5f0000db010e84d4508a8aa480e4360b6609718 (diff)
downloadnasm-daily-1e0de6e913af8c1e9d65121c880960752fd4f190.tar.gz
nasm-daily-1e0de6e913af8c1e9d65121c880960752fd4f190.tar.xz
nasm-daily-1e0de6e913af8c1e9d65121c880960752fd4f190.zip
Fix documentation building for non-srcdir builds. Still bugs in .ps implementation.
Add Mach-O documentation.
Diffstat (limited to 'doc/Makefile.in')
-rw-r--r--doc/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index a3279e45..ee7ca5e1 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -24,6 +24,10 @@ PS2PDF = ps2pdf -dOptimize=true # Part of GhostScript
SRCS = nasmdoc.src
OUT = nasm.info nasmdoc.ps nasmdoc.pdf
+# exports
+export srcdir
+export PERL
+
all: $(OUT)
os2: nasm.inf
@@ -37,12 +41,12 @@ nasmdoc.dip: nasmdoc.src rdsrc.pl
nasmdoc.texi: nasmdoc.dip
: Generated by side effect
-nasmdoc.ps: nasmdoc.dip nasmlogo.eps ../version genpsdriver.pl \
+nasmdoc.ps: nasmdoc.dip nasmlogo.eps $(srcdir)/../version genpsdriver.pl \
genps.pl psfonts.ph pswidth.ph head.ps
$(PERL) $(srcdir)/genpsdriver.pl > nasmdoc.ps
nasmdoc.pdf: nasmdoc.ps
- $(PS2PDF) nasmdoc.ps nasmdoc.pdf
+ $(PS2PDF) nasmdoc.ps
nasm.info: info/nasm.info