diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-18 19:25:28 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-22 02:47:38 +0200 |
commit | 371f20e6315715c9af3df3ef7dbbe8db46dd6347 (patch) | |
tree | 654029e4cc2f06ef133b6246fa984e0ebe039374 | |
parent | c5e4187590f37e9524a8e3fcb2bccb20f2e8b4eb (diff) | |
download | calcurse-371f20e6315715c9af3df3ef7dbbe8db46dd6347.zip |
Documentation Makefile overhaul.
* Add documentation input and output files to distribution tarballs.
* Use a more generic rule to generate man pages instead of the hardcoded
"calcurse.1" target.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r-- | doc/Makefile.am | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 2f5edb4..f1a595e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -9,10 +9,18 @@ A2X_ARGS = \ -d manpage \ -f manpage -doc_DATA = \ +dist_doc_DATA = \ manual.html -man_MANS = \ +dist_man_MANS = \ + calcurse.1 + +EXTRA_DIST = \ + manual.txt \ + calcurse.1.txt + +CLEANFILES = \ + manual.html \ calcurse.1 docdir = $(datadir)/doc/$(PACKAGE) @@ -22,7 +30,7 @@ if HAVE_ASCIIDOC $(AM_V_GEN) $(ASCIIDOC) $(ASCIIDOC_ARGS) $< endif -calcurse.1: calcurse.1.txt +%.1: %.1.txt if HAVE_A2X $(AM_V_GEN) $(A2X) $(A2X_ARGS) $< endif |