summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 01:42:44 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 01:42:44 +0100
commit7551a684bcbc7de7ac3d2e52eea0f9f812affd18 (patch)
tree469d3c40a1c88fcb3ec208a820f7a0fa93dca81c /Makefile.am
parentc71717661b7ee871e5bc957f314ad8779e85abc6 (diff)
parentee6c7128ed0d58cb1812049463a13bba9cfb31b7 (diff)
Merge tag 'upstream/2.9.7'
Upstream version 2.9.7
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 594eac6..92a03ce 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,6 +19,7 @@ RPMB = rpmbuild
rpm: $(RSPEC)
make tarball
+ mkdir -p $(SOURCEDIR)
cp -f $(TARDIR)/$(PNAME).tar.gz $(SOURCEDIR)
$(RPMB) -bb $(RSPEC)
$(RPMB) -bs $(RSPEC)
@@ -36,6 +37,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)