improved the README and use the asciidoc syntax
[psensor.git] / Makefile.in
index b77ebfc..8e47db1 100644 (file)
@@ -305,7 +305,13 @@ SUBDIRS = doc \
        www \
        tests
 
-dist_doc_DATA = README COPYING NEWS AUTHORS INSTALL
+dist_doc_DATA = AUTHORS \
+       COPYING \
+       INSTALL \
+       NEWS \
+       README \
+       README.html
+
 autostartdir = $(sysconfdir)/xdg/autostart
 autostart_DATA = psensor.desktop
 desktopdir = $(datadir)/applications
@@ -875,6 +881,9 @@ uninstall-am: uninstall-autostartDATA uninstall-desktopDATA \
        uninstall-desktopDATA uninstall-dist_docDATA
 
 
+README.html: README www/style.css
+       asciidoc --theme style -a themedir=`pwd`/www -n -a toc README
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: