diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-11-12 17:25:25 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-11-12 17:25:25 +0100 |
commit | 14304e0827cd7de7fc55b1ba587ccdd380525b94 (patch) | |
tree | f70c126b91e68b66d7005cfea53b88a82aa0c7fa /Makefile.am | |
parent | d279e229635f19852dc829552aa7c7d72d7a4dd2 (diff) |
New upstream release
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index 0c3af55..f63a865 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,24 +5,23 @@ SOURCEDIR = $(PKGDIR)/SOURCES BUILDDIR = $(PKGDIR)/BUILD RSPEC = doc/$(PACKAGE).spec PNAME = $(PACKAGE)-$(VERSION) -TMPDIR = /var/tmp/$(PNAME) +TARDIR = /tmp/iu +TMPDIR = $(TARDIR)/$(PNAME) BDIR = $(TMPDIR)-1-root RPMB = rpmbuild # $(RPMB) -bb --buildroot $(BDIR) $(RSPEC) rpm: $(RSPEC) make tarball + cp -f $(TARDIR)/$(PNAME).tar.gz $(SOURCEDIR) $(RPMB) -bb $(RSPEC) $(RPMB) -bs $(RSPEC) tarball: - rm -f $(SOURCEDIR)/$(PNAME).tar.gz + rm -f $(TMPDIR)/../$(PNAME).tar.gz rm -rf $(TMPDIR) mkdir -p $(TMPDIR) - mkdir -p $(SOURCEDIR) find . -print | cpio -pdumv $(TMPDIR) - chown -R root $(TMPDIR) - chgrp -R root $(TMPDIR) rm -f $(TMPDIR)/lib/libipmiapi*.a* cd $(TMPDIR)/test; make clean; cd .. cd $(TMPDIR)/hpiutil; make clean; cd .. @@ -31,8 +30,10 @@ 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); cd ..; tar -czvf $(SOURCEDIR)/$(PNAME).tar.gz $(PNAME) + cd $(TMPDIR); cd ..; tar -czvf $(TARDIR)/$(PNAME).tar.gz $(PNAME) + ls $(TARDIR)/*.gz rm -rf $(TMPDIR) +# chown -R root:root $(TMPDIR) tarsol: util/ipmiutil rm -f /tmp/$(PNAME)-solaris.tar |