This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
SAMPLE_SRC in Makefile.am and Makefile.in
- From: William Cohen <wcohen at redhat dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Wed, 21 Mar 2007 15:56:18 -0400
- Subject: SAMPLE_SRC in Makefile.am and Makefile.in
When trying to do a "make dist" after configuring the make was looking for the
files in the wrong place, $(distdir). Shouldn't that be $(srcdir)? Attached is a
proposed patch to correct this. Go ahead and check this in?
-Will
? dhcp231-176.rdu.redhat.com:.
Index: Makefile.am
===================================================================
RCS file: /cvs/systemtap/src/Makefile.am,v
retrieving revision 1.73
diff -U2 -u -r1.73 Makefile.am
--- Makefile.am 14 Mar 2007 22:04:16 -0000 1.73
+++ Makefile.am 21 Mar 2007 19:48:05 -0000
@@ -77,11 +77,11 @@
SAMPLE_DEST_DIR = $(distdir)/examples/samples
-SAMPLE_SRC = $(distdir)/testsuite/systemtap.samples/iotask.stp \
- $(distdir)/testsuite/systemtap.samples/kmalloc-stacks.stp \
- $(distdir)/testsuite/systemtap.samples/kmalloc-top \
- $(distdir)/testsuite/systemtap.samples/pfaults.stp \
- $(distdir)/testsuite/systemtap.samples/profile.stp \
- $(distdir)/testsuite/systemtap.samples/tcp_connections.stp \
- $(distdir)/testsuite/systemtap.samples/topsys.stp
+SAMPLE_SRC = $(srcdir)/testsuite/systemtap.samples/iotask.stp \
+ $(srcdir)/testsuite/systemtap.samples/kmalloc-stacks.stp \
+ $(srcdir)/testsuite/systemtap.samples/kmalloc-top \
+ $(srcdir)/testsuite/systemtap.samples/pfaults.stp \
+ $(srcdir)/testsuite/systemtap.samples/profile.stp \
+ $(srcdir)/testsuite/systemtap.samples/tcp_connections.stp \
+ $(srcdir)/testsuite/systemtap.samples/topsys.stp
# Copy some of the testsuite sample scripts to the distdir
Index: Makefile.in
===================================================================
RCS file: /cvs/systemtap/src/Makefile.in,v
retrieving revision 1.81
diff -U2 -u -r1.81 Makefile.in
--- Makefile.in 14 Mar 2007 22:04:16 -0000 1.81
+++ Makefile.in 21 Mar 2007 19:48:05 -0000
@@ -289,11 +289,11 @@
SAMPLE_DEST_DIR = $(distdir)/examples/samples
-SAMPLE_SRC = $(distdir)/testsuite/systemtap.samples/iotask.stp \
- $(distdir)/testsuite/systemtap.samples/kmalloc-stacks.stp \
- $(distdir)/testsuite/systemtap.samples/kmalloc-top \
- $(distdir)/testsuite/systemtap.samples/pfaults.stp \
- $(distdir)/testsuite/systemtap.samples/profile.stp \
- $(distdir)/testsuite/systemtap.samples/tcp_connections.stp \
- $(distdir)/testsuite/systemtap.samples/topsys.stp
+SAMPLE_SRC = $(srcdir)/testsuite/systemtap.samples/iotask.stp \
+ $(srcdir)/testsuite/systemtap.samples/kmalloc-stacks.stp \
+ $(srcdir)/testsuite/systemtap.samples/kmalloc-top \
+ $(srcdir)/testsuite/systemtap.samples/pfaults.stp \
+ $(srcdir)/testsuite/systemtap.samples/profile.stp \
+ $(srcdir)/testsuite/systemtap.samples/tcp_connections.stp \
+ $(srcdir)/testsuite/systemtap.samples/topsys.stp
TEST_COV_DIR = coverage