-SUBDIRS = po\
- src\
- pixmaps/scalable\
- pixmaps/14x14\
- pixmaps/16x16\
- pixmaps/22x22\
- pixmaps/24x24\
- pixmaps/32x32\
- pixmaps/48x48\
- pixmaps/64x64\
- www\
- tests
+SUBDIRS = doc \
+ po \
+ src \
+ icons/hicolor/scalable \
+ icons/hicolor/14x14 \
+ icons/hicolor/16x16 \
+ icons/hicolor/22x22 \
+ icons/hicolor/24x24 \
+ icons/hicolor/32x32 \
+ icons/hicolor/48x48 \
+ icons/hicolor/64x64 \
+ icons/ubuntu-mono-dark/status/22 \
+ icons/ubuntu-mono-light/status/22 \
+ icons/ubuntu-mono-dark/apps/22 \
+ www \
+ tests
-dist_doc_DATA = README COPYING NEWS AUTHORS INSTALL
+dist_doc_DATA = AUTHORS \
+ COPYING \
+ INSTALL \
+ NEWS \
+ NEWS.html \
+ README \
+ README.html
-desktopdir = $(sysconfdir)/xdg/autostart
+desktopdir = $(datadir)/applications
desktop_DATA = psensor.desktop
-EXTRA_DIST = $(desktop_DATA)
+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