From 758b7548b6486183e10f01cd3ff3434ca9f073c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=C3=BCmmel?= Date: Sun, 23 Oct 2011 11:08:16 +0000 Subject: [PATCH] Script to extract only needed boost files using the bcp tool git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39939 a592a061-630c-0410-9148-cb99ea01b6c8 --- boost/extract.sh | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100755 boost/extract.sh diff --git a/boost/extract.sh b/boost/extract.sh new file mode 100755 index 0000000000..813c2877fb --- /dev/null +++ b/boost/extract.sh @@ -0,0 +1,47 @@ +#!/bin/sh + +# +# Script to extract only needed boost files using the bcp tool: +# +# http://www.boost.org/doc/libs/1_47_0/tools/bcp/doc/html/index.html +# +# Does also work with an outdated bcp version +# + +rm -rf needed +mkdir needed + +bcp --boost=$PWD \ + boost/any.hpp \ + boost/assert.hpp \ + boost/bind.hpp \ + boost/crc.hpp \ + boost/cstdint.hpp \ + boost/format.hpp \ + boost/function.hpp \ + boost/functional.hpp \ + boost/lexical_cast.hpp \ + boost/next_prior.hpp \ + boost/noncopyable.hpp \ + boost/regex.hpp \ + boost/scoped_array.hpp \ + boost/scoped_ptr.hpp \ + boost/shared_ptr.hpp \ + boost/signal.hpp \ + boost/signals/connection.hpp \ + boost/signals/trackable.hpp \ + boost/tokenizer.hpp \ + boost/tuple/tuple.hpp \ + \ + needed + + +find boost -name \*.hpp | xargs rm +find libs -name \*.cpp | xargs rm + +cp -vR needed/boost . +cp -vR needed/libs . + +rm -rf needed + + -- 2.39.5