]> Pileus Git - aweather/blobdiff - docs/Makefile.am
Use/update reflectivity colormap
[aweather] / docs / Makefile.am
index 2b6c15785a28184dee9c4404ea55dd939a9f143b..d303b85b1b572457c4a940b2bfe7be4bdf5a1520 100644 (file)
@@ -1,4 +1,16 @@
-# TODO: write man pages
+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