From 73c268707bc32b91e3cb72d5b420e6470278ea7a Mon Sep 17 00:00:00 2001 From: Andrew Lewman Date: Thu, 13 Apr 2006 01:46:27 +0000 Subject: Temporary hacks to ensure make dist-rpm works from cvs until a better solution can be found. svn:r6383 --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index cd4dbc398..25215a912 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,7 +23,8 @@ dist-rpm: for subdir in BUILD RPMS SOURCES SPECS SRPMS; do \ mkdir $$RPM_BUILD_DIR/$$subdir; \ done; \ - cp ../tor-$(VERSION).tar.gz $$RPM_BUILD_DIR/SOURCES; \ + tar zcf tor-$(VERSION).tar.gz ../tor; \ + cp tor-$(VERSION).tar.gz $$RPM_BUILD_DIR/SOURCES; \ rpmbuild -ba --define "_topdir $$RPM_BUILD_DIR" tor.spec; \ mv $$RPM_BUILD_DIR/SRPMS/* .; \ mv $$RPM_BUILD_DIR/RPMS/* .; \ -- cgit v1.2.3