summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-08-09 10:44:48 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-08-09 10:44:48 -0400
commit59ec94081d98239429a440c51744cd90db1d60d7 (patch)
tree869260b64638a357a0730ba6699fcf08f9fd0bd4
parent71906647386a9684086b0542318b536d95ae089c (diff)
downloadsystemtap-steved-59ec94081d98239429a440c51744cd90db1d60d7.tar.gz
systemtap-steved-59ec94081d98239429a440c51744cd90db1d60d7.tar.xz
systemtap-steved-59ec94081d98239429a440c51744cd90db1d60d7.zip
example index: only warn if old, do not regenerate
-rw-r--r--ChangeLog7
-rw-r--r--Makefile.am6
-rw-r--r--Makefile.in6
3 files changed, 15 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 8416469d..63108b14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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