summaryrefslogtreecommitdiff
path: root/doc/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-01-20 21:50:02 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-01-20 21:50:02 -0800
commit8960f37b9cdef126734d67fe394c5135b401f1be (patch)
tree345dc824af32cfe2695abdac2dd93b721ba634e3 /doc/Makefile.in
parentc17a0eb31b109af863bc7fb5b9e80172d11d4c75 (diff)
downloadnasm-8960f37b9cdef126734d67fe394c5135b401f1be.tar.gz
nasm-8960f37b9cdef126734d67fe394c5135b401f1be.tar.bz2
nasm-8960f37b9cdef126734d67fe394c5135b401f1be.zip
doc/Makefile.in: avoid deleting opt_var.txt, fix dependencies
Fix dependencies in the generation of the instruction list, and make sure we don't delete opt_var.txt on "make spotless".
Diffstat (limited to 'doc/Makefile.in')
-rw-r--r--doc/Makefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index e0e245e..4b65662 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -32,10 +32,12 @@ all: $(OUT)
os2: nasm.inf
+inslist.src: inslist.pl ../insns.dat
+ $(PERL) $(srcdir)/inslist.pl
+
# Consider html, txt and ps output a side effect
-nasmdoc.dip: nasmdoc.src rdsrc.pl inslist.pl ../insns.dat
+nasmdoc.dip: nasmdoc.src rdsrc.pl inslist.src
mkdir -p html
- $(PERL) $(srcdir)/inslist.pl
$(PERL) $(srcdir)/rdsrc.pl < $<
mv -f *.html html
@@ -73,8 +75,8 @@ clean:
spotless: clean
-rm -rf html info
- -rm -f *.hlp *.txt *.inf *.pdf *.dvi
- -rm -f nasmdoc*.ps
+ -rm -f *.hlp nasmdoc.txt *.inf *.pdf *.dvi
+ -rm -f nasmdoc*.ps inslist.src
install: all
$(INSTALL_DATA) info/* $(INSTALLROOT)$(infodir)