diff options
author | Justin Lecher (jlec) <jlec@j-schmitz.net> | 2009-04-13 14:12:00 +0200 |
---|---|---|
committer | Justin Lecher (jlec) <jlec@j-schmitz.net> | 2009-04-13 14:12:00 +0200 |
commit | ac297064dbd044f29f9aad3eeea7d877804832dc (patch) | |
tree | 5746b5f92f4928d73059a0c7dce82f42d2471d40 | |
parent | To main tree (diff) | |
download | sci-ac297064dbd044f29f9aad3eeea7d877804832dc.tar.gz sci-ac297064dbd044f29f9aad3eeea7d877804832dc.tar.bz2 sci-ac297064dbd044f29f9aad3eeea7d877804832dc.zip |
renamed: generate_tarball.sh -> generate_boinc-src_tarball.sh
fixed: libboinc_zip.a can now be build
uses system libzip.a and libunzip.a
-rw-r--r-- | Documentation/generate_boinc-src_tarball.sh (renamed from Documentation/generate_tarball.sh) | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/Documentation/generate_tarball.sh b/Documentation/generate_boinc-src_tarball.sh index 6b56ad0c6..0099ce9e8 100644 --- a/Documentation/generate_tarball.sh +++ b/Documentation/generate_boinc-src_tarball.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash ## $Id: export-tarball 8916 2005-11-23 18:09:55Z korpela $ -## Modified by jlec 2009-04-09 +## Modified by jlec 2009-04-13 ############################################################################### # functions ############################################################################### @@ -76,16 +76,31 @@ rm -rf $PACKAGE/doc/ # fix search for unwanted stuff sed -i \ + -e '/^.\/unzip/d' \ + -e '/^.\/zip/d' \ + -e '/^SUBDIRS/d' \ + -e "s:-I\$(top_srcdir)/zip/zip::g" \ + -e "s:-I\$(top_srcdir)/zlib::g" \ + -e "s:-I\$(top_srcdir)/zip/unzip::g" \ + -e 's:\\::g' \ + "$PACKAGE"/zip/Makefile.am +echo 'libboinc_zip_a_LIBADD = $(libdir)/libunzip.a $(libdir)/libzip.a' >> \ + "$PACKAGE"/zip/Makefile.am +sed -i \ + -e 's:"./zip/zip.h":<zip.h>:g' \ + -e 's:"./unzip/unzip.h":<unzip.h>:g' \ + "$PACKAGE"/zip/*.cpp +sed -i \ -e "s:win_build::g" \ -e "s:doc::g" \ "$PACKAGE"/Makefile.am sed -i \ - -e "s:zip/unzip/Makefile::g" \ - -e "s:zip/zip/Makefile::g" \ - -e "s:doc/manpages/Makefile::g" \ - -e "s:doc/Makefile::g" \ - -e "sXclient/win/boinc_path_config.py:py/Boinc/boinc_path_config.py.inXXg" \ - "$PACKAGE"/configure.ac + -e "s:zip/unzip/Makefile::g" \ + -e "s:zip/zip/Makefile::g" \ + -e "s:doc/manpages/Makefile::g" \ + -e "s:doc/Makefile::g" \ + -e "sXclient/win/boinc_path_config.py:py/Boinc/boinc_path_config.py.inXXg" \ + "$PACKAGE"/configure.ac # fix the server build sed -i \ -e "s:samples/example_app::g" \ |