diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | Makefile.in | 6 |
3 files changed, 15 insertions, 4 deletions
@@ -1,3 +1,10 @@ +2008-08-09 Frank Ch. Eigler <fche@elastic.org> + + * Makefile.am (example index): Only warn and instruct on index + regeneration. Do not actually perform it as the source tree + should be considered (and can really be) read-only. + * Makefile.in: Regenerated. + 2008-08-08 Dave Brolley <brolley@redhat.com> * stap-client: Use quotes when echoing. Exit with $rc. diff --git a/Makefile.am b/Makefile.am index 1909e0fd..a601b5fd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -162,12 +162,14 @@ EXTRA_DIST = auto_free.h buildrun.h elaborate.h loc2c.h session.h \ EXAMPLE_SOURCE_DIR = $(srcdir)/testsuite/systemtap.examples EXAMPLE_META_FILES = $(EXAMPLE_SOURCE_DIR)/*/*.meta -EXAMPLE_INDEX_GEN = $(EXAMPLE_SOURCE_DIR)/examples-index-gen.pl example_index: $(EXAMPLE_SOURCE_DIR)/index.html $(EXAMPLE_SOURCE_DIR)/index.html: $(EXAMPLE_META_FILES) $(EXAMPLE_INDEX_GEN) - perl $(EXAMPLE_INDEX_GEN) $(EXAMPLE_SOURCE_DIR) + @echo "The script example index is outdated, run" + @echo " cd $(EXAMPLE_SOURCE_DIR) && \\ " + @echo " perl examples-index-gen.pl" + @echo "to regenerate it." dist-hook: dist-gitversion find $(distdir) -name CVS -o -name '*~' -o -name '.#*' | xargs rm -rf diff --git a/Makefile.in b/Makefile.in index 42d2afb9..1395fcab 100644 --- a/Makefile.in +++ b/Makefile.in @@ -339,7 +339,6 @@ EXTRA_DIST = auto_free.h buildrun.h elaborate.h loc2c.h session.h \ EXAMPLE_SOURCE_DIR = $(srcdir)/testsuite/systemtap.examples EXAMPLE_META_FILES = $(EXAMPLE_SOURCE_DIR)/*/*.meta -EXAMPLE_INDEX_GEN = $(EXAMPLE_SOURCE_DIR)/examples-index-gen.pl TEST_COV_DIR = coverage # XXX: leaves behind man pages SUBDIRS = testsuite doc @@ -1561,7 +1560,10 @@ install-exec-hook: example_index: $(EXAMPLE_SOURCE_DIR)/index.html $(EXAMPLE_SOURCE_DIR)/index.html: $(EXAMPLE_META_FILES) $(EXAMPLE_INDEX_GEN) - perl $(EXAMPLE_INDEX_GEN) $(EXAMPLE_SOURCE_DIR) + @echo "The script example index is outdated, run" + @echo " cd $(EXAMPLE_SOURCE_DIR) && \\ " + @echo " perl examples-index-gen.pl" + @echo "to regenerate it." dist-hook: dist-gitversion find $(distdir) -name CVS -o -name '*~' -o -name '.#*' | xargs rm -rf |