CFLAGS += -DNASM_TRACE
endif
-.SUFFIXES: .c .i .s .$(O) .1 .txt
+.SUFFIXES: .c .i .s .$(O) .1 .txt .xml
.PHONY: all doc rdf install clean distclean cleaner spotless install_rdf test
.PHONY: install_doc everything install_everything strip perlreq dist tags TAGS
.c.i:
$(CC) -E $(ALL_CFLAGS) -o $@ $<
-.txt.1:
- $(ASCIIDOC) -b docbook -d manpage -o $(patsubst %.1,%.xml,$@) $<
- $(XMLTO) man --skip-validation $(patsubst %.1,%.xml,$@) 2>/dev/null
+.txt.xml:
+ $(ASCIIDOC) -b docbook -d manpage -o $@ $<
+
+.xml.1:
+ $(XMLTO) man --skip-validation $< 2>/dev/null
#-- Begin File Lists --#
PA_ADD_CFLAGS([-pedantic])
dnl Look for programs...
-AC_CHECK_PROGS(NROFF, nroff, echo)
-AC_CHECK_PROGS(ASCIIDOC, asciidoc, echo)
-AC_CHECK_PROGS(XMLTO, xmlto, echo)
+AC_CHECK_PROGS(NROFF, nroff, false)
+AC_CHECK_PROGS(ASCIIDOC, asciidoc, false)
+AC_CHECK_PROGS(XMLTO, xmlto, false)
AC_CHECK_PROGS(ACRODIST, acrodist, false)
AC_CHECK_PROGS(PS2PDF, ps2pdf, false)
AC_CHECK_PROGS(PSTOPDF, pstopdf, false)