automake: build, distribute and install man page.

This commit is contained in:
Thomas Klausner 2015-09-04 16:27:55 +02:00
parent 7cb1eb147a
commit 5941f5d145
4 changed files with 10 additions and 2 deletions

1
.gitignore vendored
View file

@ -59,3 +59,4 @@ test_parse_trie
test_string_builder
test_string_byte_reader
c/dsls/lemon_prepared
doc/miller.1

View file

@ -3,4 +3,4 @@ AUTOMAKE_OPTIONS=dist-xz foreign
EXTRA_DIST= LICENSE.txt README.md
SUBDIRS=c # doc
SUBDIRS=c doc

View file

@ -22,5 +22,6 @@ AC_CONFIG_FILES([Makefile
c/mapping/Makefile
c/output/Makefile
c/stream/Makefile
c/Makefile])
c/Makefile
doc/Makefile])
AC_OUTPUT

6
doc/Makefile.am Normal file
View file

@ -0,0 +1,6 @@
man1_MANS= miller.1
MAINTAINERCLEANFILES= miller.1
miller.1:
a2x -d manpage -f manpage miller.1.txt