diff options
author | Mark Wielaard <mwielaard@redhat.com> | 2008-08-08 17:11:53 +0200 |
---|---|---|
committer | Mark Wielaard <mwielaard@redhat.com> | 2008-08-08 17:11:53 +0200 |
commit | 751f828801e9bd4739d03a31a77e84c91e075b4e (patch) | |
tree | 7f0cd00a428e6ace2632fb60d33433ce20a59116 /Makefile.in | |
parent | ea757121c0710fe6fed14409c9d334f7f5e37efd (diff) | |
download | systemtap-steved-751f828801e9bd4739d03a31a77e84c91e075b4e.tar.gz systemtap-steved-751f828801e9bd4739d03a31a77e84c91e075b4e.tar.xz systemtap-steved-751f828801e9bd4739d03a31a77e84c91e075b4e.zip |
Always generate examples indexes and install examples from srcdir.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index ee7e2758..022ac831 100644 --- a/Makefile.in +++ b/Makefile.in @@ -338,7 +338,6 @@ EXTRA_DIST = auto_free.h buildrun.h elaborate.h loc2c.h session.h \ systemtap.spec EXAMPLE_SOURCE_DIR = $(srcdir)/testsuite/systemtap.examples -EXAMPLE_BUILD_DIR = $(builddir)/testsuite/systemtap.examples EXAMPLE_META_FILES = $(EXAMPLE_SOURCE_DIR)/*/*.meta EXAMPLE_INDEX_GEN = $(EXAMPLE_SOURCE_DIR)/examples-index-gen.pl TEST_COV_DIR = coverage @@ -1559,10 +1558,10 @@ install-exec-hook: @BUILD_CRASHMOD_TRUE@ $(INSTALL) $(STAPLOG) $(DESTDIR)$(pkglibdir) @BUILD_CRASHMOD_FALSE@all-local: example_index -example_index: $(EXAMPLE_BUILD_DIR)/index.html +example_index: $(EXAMPLE_SOURCE_DIR)/index.html -$(EXAMPLE_BUILD_DIR)/index.html: $(EXAMPLE_META_FILES) $(EXAMPLE_INDEX_GEN) - perl $(EXAMPLE_INDEX_GEN) $(EXAMPLE_SOURCE_DIR) $(EXAMPLE_BUILD_DIR) +$(EXAMPLE_SOURCE_DIR)/index.html: $(EXAMPLE_META_FILES) $(EXAMPLE_INDEX_GEN) + perl $(EXAMPLE_INDEX_GEN) $(EXAMPLE_SOURCE_DIR) dist-hook: dist-gitversion find $(distdir) -name CVS -o -name '*~' -o -name '.#*' | xargs rm -rf @@ -1579,7 +1578,7 @@ install-data-local: do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/uprobes/$$f; done) (cd $(srcdir)/tapset; find . \( -name '*.stp' -o -name README \) -print \ | while read f; do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/tapset/$$f; done) - (cd $(builddir)/testsuite/systemtap.examples; find . -type f -print \ + (cd $(srcdir)/testsuite/systemtap.examples; find . -type f -print \ | egrep -v 'check.exp|ChangeLog|examples-index-gen.pl' \ | while read f; do $(INSTALL_DATA) -D $$f $(DESTDIR)$(docdir)/examples/$$f; done) |