summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorfche <fche>2007-10-05 19:01:32 +0000
committerfche <fche>2007-10-05 19:01:32 +0000
commit8f3c45cc3da3ce3a325acbc593ed434580a1bb71 (patch)
tree374015c0f1693e1c9491836b1dc43401c54d9f08 /Makefile.am
parentc488dee487f25763b3d4dba2400356dc83a3f11e (diff)
downloadsystemtap-steved-8f3c45cc3da3ce3a325acbc593ed434580a1bb71.tar.gz
systemtap-steved-8f3c45cc3da3ce3a325acbc593ed434580a1bb71.tar.xz
systemtap-steved-8f3c45cc3da3ce3a325acbc593ed434580a1bb71.zip
pr5036: systemtap-testsuite RPM
2007-10-05 Frank Ch. Eigler <fche@elastic.org> PR 5036 * systemtap.spec.in: Create new systemtap-testsuite sub-rpm. Install crash(8)'s staplog.so into -runtime sub-rpm if built. * Makefile.am (rpm): New target. * Makefile.in: Regenerated.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 1f558741..f9939685 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -91,6 +91,7 @@ $(STAPLOG): staplog.c
$(CC) -shared -rdynamic $(LDFLAGS) $(CFLAGS) -fPIC -o $@ $<
all-local: $(STAPLOG)
install-exec-local: $(STAPLOG)
+ -$(MKDIR_P) $(DESTDIR)$(pkglibdir)
$(INSTALL) $(STAPLOG) $(DESTDIR)$(pkglibdir)
else
endif
@@ -171,3 +172,6 @@ check:
installcheck:
$(MAKE) -C testsuite installcheck RUNTESTFLAGS="$(RUNTESTFLAGS)"
+
+rpm: systemtap.spec dist
+ rpmbuild --define "_sourcedir $(PWD)/" -ba systemtap.spec