summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 2ab6d81..0f65e8c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -749,6 +749,7 @@ uninstall-am:
rpm: $(RSPEC)
make tarball
+ mkdir -p $(SOURCEDIR)
cp -f $(TARDIR)/$(PNAME).tar.gz $(SOURCEDIR)
$(RPMB) -bb $(RSPEC)
$(RPMB) -bs $(RSPEC)
@@ -766,6 +767,8 @@ tarball:
cd $(TMPDIR); rm -f util/events
cd $(TMPDIR); sed -i 's/\r//' ChangeLog AUTHORS COPYING NEWS README TODO doc/UserGuide
cd $(TMPDIR); chmod 644 doc/UserGuide
+ cd $(TMPDIR); find . -name '*.orig' -delete
+ cd $(TMPDIR); find . -name '*.rej' -delete
cd $(TMPDIR); cd ..; tar -czvf $(TARDIR)/$(PNAME).tar.gz $(PNAME)
ls $(TARDIR)/*.gz
rm -rf $(TMPDIR)