From 1f5b028c86a58965244c3d034425127c26e72b24 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sun, 12 Sep 2004 16:01:15 +0000 Subject: What files to delete should be hidden inside automake. But Stephen is right, distclean-generic just doesn't do that; distclean-local is better here, since it extends the regular behaviour CVS patchset: 6965 CVS date: 2004/09/12 16:01:15 --- doc/faq/Makefile.am | 3 +-- doc/hackersguide/Makefile.am | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/faq/Makefile.am b/doc/faq/Makefile.am index f3819648b..1565f5cae 100644 --- a/doc/faq/Makefile.am +++ b/doc/faq/Makefile.am @@ -8,8 +8,7 @@ docsdir = $(prefix)/share/doc/xine/faq docs: $(docs_DATA) -distclean-generic: clean-docs - -rm -f Makefile $(CONFIG_CLEAN_FILES) +distclean-local: clean-docs docs-prepare: $(srcdir)/faq.sgml if test "$(srcdir)" != "." ; then \ diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am index 4b80c2d79..915adbef6 100644 --- a/doc/hackersguide/Makefile.am +++ b/doc/hackersguide/Makefile.am @@ -18,8 +18,7 @@ docsdir = $(prefix)/share/doc/xine/hackersguide docs: $(docs_DATA) -distclean-generic: clean-docs - -rm -f Makefile $(CONFIG_CLEAN_FILES) +distclean-local: clean-docs docs-prepare: $(addprefix $(srcdir)/, $(hackersguide_sgml) $(wildcard *.fig)) if test "$(srcdir)" != "." ; then \ -- cgit v1.2.3