use max/min of the sensor for the threshold if not overriden by the configuration
[psensor.git] / Makefile.am
index 0575377..df37f0f 100644 (file)
@@ -15,14 +15,23 @@ SUBDIRS = doc \
        www \
        tests
 
-dist_doc_DATA = README COPYING NEWS AUTHORS INSTALL
-
-autostartdir = $(sysconfdir)/xdg/autostart
-autostart_DATA = psensor.desktop
+dist_doc_DATA = AUTHORS \
+       COPYING \
+       INSTALL \
+       NEWS \
+       NEWS.html \
+       README \
+       README.html
 
 desktopdir = $(datadir)/applications
 desktop_DATA = psensor.desktop
 
 EXTRA_DIST = $(desktop_DATA) $(autostart_DATA)
 
+if ASCIIDOC
+README.html: README www/style.css
+       asciidoc --theme style -a themedir=`pwd`/www -n -a toc README
 
+NEWS.html: NEWS www/style.css
+       asciidoc --theme style -a themedir=`pwd`/www NEWS
+endif