X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=docs%2FMakefile.am;h=d303b85b1b572457c4a940b2bfe7be4bdf5a1520;hb=1d506d5e87c013a9255ffc7de1c4a9ee4c157747;hp=e998555129a37b68842c32c535133bfc8129be56;hpb=d527bfdb9682b1824e1c2df318a92291aaa48860;p=aweather diff --git a/docs/Makefile.am b/docs/Makefile.am index e998555..d303b85 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1,4 +1,16 @@ -SUBDIRS = api +man1_MANS = aweather.1 +html_DATA = aweather.html + +EXTRA_DIST = $(man1_MANS) $(html_DATA) + +%.html: %.ad + asciidoc $< + +%.1: %.ad + a2x -f manpage $< + +test: $(man1_MANS) + nroff -man $(man1_MANS) maintainer-clean-local: rm -f Makefile.in