-SUBDIRS = src test doc po help
+# Optionally build documentation bits
+if VIKING_DOC
+ DO_DOCS = "doc"
+endif
+SUBDIRS = src test data po win32 help $(DO_DOCS)
INTLTOOL = \
intltool-extract.in \
./autogen.sh
make
-bin_SCRIPTS = viking-remote
-
EXTRA_DIST = \
- gnome-doc-utils.make \
- viking-remote \
- viking.spec \
- $(INTLTOOL)
+ gnome-doc-utils.make \
+ ChangeLog.0 \
+ viking.spec \
+ $(INTLTOOL)
.PHONY: generate-changelog
generate-changelog:
dist-hook: viking.spec generate-changelog
cp $(top_builddir)/viking.spec $(distdir)
+MAINTAINERCLEANFILES = \
+ gnome-doc-utils.make
+
DISTCLEANFILES = \
- gnome-doc-utils.make \
intltool-extract \
intltool-merge \
intltool-update
DISTCHECK_CONFIGURE_FLAGS = \
--disable-scrollkeeper
+
+# Ignore gtk theme cache files on distcheck
+distuninstallcheck_listfiles = find . -type f -print | grep -v 'icon-theme.cache'