use asciidoctor instead of asciidoc
[psensor.git] / Makefile.am
index df37f0f..b1eecf9 100644 (file)
@@ -28,10 +28,10 @@ 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
+if ASCIIDOCTOR
+README.html: README
+       asciidoctor -n README
 
-NEWS.html: NEWS www/style.css
-       asciidoc --theme style -a themedir=`pwd`/www NEWS
+NEWS.html: NEWS
+       asciidoctor NEWS
 endif