-SUBDIRS = src test doc po
+SUBDIRS = src test doc po help
INTLTOOL = \
intltool-extract.in \
full:
./autogen.sh
- if [ -x config.status ] ; then ./config.status --recheck ; else ./configure ; fi
make
bin_SCRIPTS = viking-remote
EXTRA_DIST = \
+ gnome-doc-utils.make \
+ ChangeLog.0 \
viking-remote \
viking.spec \
$(INTLTOOL)
-dist-hook: viking.spec
+.PHONY: generate-changelog
+generate-changelog:
+ if test -d $(top_srcdir)/.git; then \
+ cd $(top_srcdir) ; sh $(top_srcdir)/maintainer/git2changelog.sh > $(distdir)/c-l; \
+ mv $(distdir)/c-l $(distdir)/ChangeLog; \
+ fi
+
+dist-hook: viking.spec generate-changelog
cp $(top_builddir)/viking.spec $(distdir)
DISTCLEANFILES = \
+ gnome-doc-utils.make \
intltool-extract \
intltool-merge \
intltool-update
+
+ACLOCAL_AMFLAGS = -I m4
+
+DISTCHECK_CONFIGURE_FLAGS = \
+ --disable-scrollkeeper