summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--.gitignore2
-rw-r--r--Makefile.am17
2 files changed, 8 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore
index 41e63e2..1149c5b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,12 +11,14 @@ INSTALL
konforka.pc
NEWS
Makefile
config.status
stamp-h1
doxydox
config.h.in
libtool
autom4te.cache
missing
aclocal.m4
install-sh
+stamp-h.in
+mkinstalldirs
diff --git a/Makefile.am b/Makefile.am
index c3fef99..aab3c4b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,27 +1,22 @@
SUBDIRS=include lib
EXTRA_DIST = NEWS NEWS.xml NEWS.xsl
DISTCHECK_CONFIGURE_FLAGS=--with-pkgconfigdir=$${dc_install_base}/lib/pkgconfig
if HAVE_PKGCONFIG
pkgconfigdir=@PKGCONFIG_DIR@
pkgconfig_DATA=konforka.pc
endif
-LOCAL_TARGETS=
+all-local: NEWS
if HAVE_DOXYGEN
-LOCAL_TARGETS+=doxygen
+clean-local:
+ rm -rf doxydox
endif
-all-local: NEWS $(addprefix all-lota-,${LOCAL_TARGETS})
-clean-local: $(addprefix clean-lota-,${LOCAL_TARGETS})
-
NEWS: NEWS.xsl NEWS.xml
${XSLTPROC} -o $@ NEWS.xsl NEWS.xml
-all-lota-doxygen: doxydox/built
-doxydox/built: $(wildcard ${top_srcdir}/include/konforka/*.h)
+if HAVE_DOXYGEN
+dox:
${DOXYGEN}
- touch $@
-
-clean-lota-doxygen:
- rm -rf doxydox
+endif