summaryrefslogtreecommitdiff
path: root/doc/doc.am
diff options
context:
space:
mode:
authorBertrand Garrigues <bertrand.garrigues@laposte.net>2014-11-19 00:15:45 +0100
committerBertrand Garrigues <bertrand.garrigues@laposte.net>2015-01-27 23:14:54 +0100
commitd41c7f74bce94174a7b6aa66fac45913ae55e24a (patch)
treecdf7c6db9ad0bc5712f3b23c5889ec03ea37c61f /doc/doc.am
parent6d927d76c468217c58aac02b04151dcbcd09e167 (diff)
downloadgroff-git-automake3.tar.gz
Automake migration.automake3
* Changelog: Add a summary of all the commits of the automake migration (started at commit fb543c745333206ce8d77ad89db1772077856618). * doc/doc.am: automatically build automake.pdf from automake.mom
Diffstat (limited to 'doc/doc.am')
-rw-r--r--doc/doc.am13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/doc.am b/doc/doc.am
index bf3feb057..b3a3cc5dd 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -54,6 +54,18 @@ else
EXTRA_DIST += $(DOCFILES)
endif
+# pdf doc, written in mom and therefore using contrib/mom/mom.am
+# definitions
+EXTRA_DIST += doc/automake.mom
+if BUILD_PDFDOC
+docpdfdocdir = $(pdfdocdir)
+nodist_docpdfdoc_DATA = doc/automake.pdf
+MOSTLYCLEANFILES += doc/automake.pdf
+endif
+doc/automake.pdf: doc/automake.mom \
+ groff troff gropdf pdfmom font/devpdf/build_font_files \
+ contrib/mom/om.tmac
+
# GNU PIC html documentation, installed in $(htmldocdir)
# Other pic*.html files are installed by the local rule
if BUILD_HTML
@@ -103,7 +115,6 @@ exampleimagedir = $(exampledir)/img
MOSTLYCLEANFILES += doc/examples.stamp
EXTRA_DIST += \
- doc/automake.mom \
doc/gnu.xpm \
doc/fixinfo.sh \
doc/txi-en.tex