[xmlsec] change release build from rpm to tar
- From: Aleksey Sanin <aleksey src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xmlsec] change release build from rpm to tar
- Date: Thu, 29 Apr 2010 16:48:19 +0000 (UTC)
commit dbcac6dd1d1434fb62dab5b56148df95b2c1e01d
Author: Aleksey Sanin <aleksey aleksey com>
Date: Thu Apr 29 09:50:31 2010 -0700
change release build from rpm to tar
Makefile.am | 10 ++++++----
scripts/build_release.sh | 4 +++-
2 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 3fce548..a55dc74 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -134,9 +134,11 @@ dist-hook:
cleantar:
@($(RM) -f xmlsec*.tar.gz COPYING.LIB)
-rpm: cleantar
- @(unset CDPATH && $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)
+tar-release: clean cleantar
+ @(unset CDPATH && $(MAKE) dist)
-rpm-release: clean cleantar rpm
-
+rpm: cleantar tar-release
+ @(unset CDPATH && rpmbuild -ta $(distdir).tar.gz)
+rpm-release: clean cleantar rpm
+
diff --git a/scripts/build_release.sh b/scripts/build_release.sh
index dc4cdbf..dc9edd0 100755
--- a/scripts/build_release.sh
+++ b/scripts/build_release.sh
@@ -19,7 +19,9 @@ cd xmlsec
find . -name ".git" | xargs rm -r
./autogen.sh --prefix=/usr --sysconfdir=/etc
-make rpm-release
+make tar-release
+# can't build rpm on ubuntu
+# make rpm-release
tar_file=`ls xmlsec*.tar.gz`
echo "Moving sources tar file to $rpm_root/SOURCES/$tar_file"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]