summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-10-24 13:25:51 +0100
committerH. Peter Anvin <hpa@zytor.com>2013-10-24 13:25:51 +0100
commit165eead3b83ff8da62d506bffb37f46a156d711b (patch)
tree174f4f11fbe7dab558ba79d62397542a836eff43
parentd089c2251ba82f363ae1332c34ef6e61bb0cd3aa (diff)
downloadnasm-165eead3b83ff8da62d506bffb37f46a156d711b.tar.gz
nasm-165eead3b83ff8da62d506bffb37f46a156d711b.tar.bz2
nasm-165eead3b83ff8da62d506bffb37f46a156d711b.zip
Makefile.in: generate manpages for "make dist"
Make sure the "dist" target generates the man pages. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index b3eb15f..60aa6bc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -53,6 +53,7 @@ endif
.PHONY: all doc rdf install clean distclean cleaner spotless install_rdf test
.PHONY: install_doc everything install_everything strip perlreq dist tags TAGS
+.PHONY: manpages
.c.$(O):
$(CC) -c $(ALL_CFLAGS) -o $@ $<
@@ -94,7 +95,7 @@ NDISASM = ndisasm.$(O) disasm.$(O) sync.$(O) nasmlib.$(O) ver.$(O) \
insnsd.$(O) insnsb.$(O) insnsn.$(O) regs.$(O) regdis.$(O)
#-- End File Lists --#
-all: nasm$(X) ndisasm$(X) nasm.1 ndisasm.1 rdf
+all: nasm$(X) ndisasm$(X) manpages rdf
nasm$(X): $(NASM) $(XOBJS)
$(CC) $(LDFLAGS) -o nasm$(X) $(NASM) $(XOBJS) $(LIBS)
@@ -187,6 +188,9 @@ PERLREQ = macros.c insnsb.c insnsa.c insnsd.c insnsi.h insnsn.c \
version.h version.mac version.mak version.nsh
perlreq: $(PERLREQ)
+# Generated manpages, also pregenerated for distribution
+manpages: nasm.1 ndisasm.1
+
install: nasm$(X) ndisasm$(X)
$(MKDIR) -p $(INSTALLROOT)$(bindir)
$(INSTALL_PROGRAM) nasm$(X) $(INSTALLROOT)$(bindir)/nasm$(X)
@@ -250,7 +254,7 @@ everything: all doc rdf
install_everything: everything install install_doc install_rdf
-dist: spotless perlreq spec
+dist: spotless perlreq manpages spec
autoheader
autoconf
$(RM) -rf ./autom4te*.cache