diff --git a/ChangeLog b/ChangeLog index 7fc0afa02..6acf0ea50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2003-06-26 Alexandre Duret-Lutz + * doc/Makefile.am (stamp): Prefix $(srcdir) explicitely. + * m4/buddy.m4 (BUDDY_LDFLAGS): Use $(top_builddir), not $(top_srcdir). * src/tgbaparse/Makefile.am (AM_CPPFLAGS): Add $(BUDDY_CPPFLAGS). diff --git a/doc/Makefile.am b/doc/Makefile.am index 9d8dc4190..575dc3eb4 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -2,19 +2,19 @@ DOXYGEN = doxygen .PHONY: doc spot -all-local: stamp +all-local: $(srcdir)/stamp doc: - rm stamp - $(AMKE) stamp + rm $(srcdir)/stamp + $(AMKE) $(srcdir)/stamp -stamp: Doxyfile.in ../configure.ac +$(srcdir)/stamp: $(srcdir)/Doxyfile.in $(top_srcdir)/configure.ac $(MAKE) Doxyfile rm -rf spot.html spot.latex $(DOXYGEN) - : > $@ + touch $@ -spot.html: stamp -spot.latex: stamp +spot.html: $(srcdir)/stamp +spot.latex: $(srcdir)/stamp -EXTRA_DIST = stamp spot.html +EXTRA_DIST = $(srcdir)/stamp spot.html