## Process this file with automake to produce Makefile.in
-SUBDIRS = src data
+ACLOCAL_AMFLAGS = -I m4
-MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
+SUBDIRS = src data doc
+
+MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess emotion.spec \
config.h.in config.sub configure install-sh \
ltconfig ltmain.sh missing mkinstalldirs \
- stamp-h.in emotion_docs.tar emotion_docs.tar.gz \
- emotion.c acconfig.h
+ stamp-h.in emotion_docs.tar \
+ emotion.pc acconfig.h depcomp \
+ $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2
-bin_SCRIPTS = emotion-config
+bin_SCRIPTS =
-EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN emotion.spec emotion.c.in gendoc Doxyfile emotion_docs.tar.gz emotion.pc.in
+EXTRA_DIST = README AUTHORS COPYING \
+ emotion.spec emotion.spec.in emotion.pc.in \
+ emotion.pc.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = emotion.pc
+
+.PHONY: doc
+
+# Documentation
+
+doc:
+ @echo "entering doc/"
+ make -C doc doc