* build-aux/strip-lrde: New.
Imported from Olena 0.11.
---
ChangeLog | 7 +++++++
build-aux/strip-lrde | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 0 deletions(-)
create mode 100755 build-aux/strip-lrde
diff --git a/ChangeLog b/ChangeLog
index 6379bc0..a34bb08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-06-11 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Add a script stripping parts of the distribution.
+
+ * build-aux/strip-lrde: New.
+ Imported from Olena 0.11.
+
2009-06-11 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
Configure and bootstrap Scribo correctly.
diff --git a/build-aux/strip-lrde b/build-aux/strip-lrde
new file mode 100755
index 0000000..f1c6077
--- /dev/null
+++ b/build-aux/strip-lrde
@@ -0,0 +1,34 @@
+#! /bin/sh
+# Copyright (C) 2007 EPITA Research and Development Laboratory
+#
+# This file is part of the Olena Library. This library is free
+# software; you can redistribute it and/or modify it under the terms
+# of the GNU General Public License version 2 as published by the
+# Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this library; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
+#
+# As a special exception, you may use this file as part of a free
+# software library without restriction. Specifically, if other files
+# instantiate templates or use macros or inline functions from this
+# file, or you compile this file and link it with other files to
+# produce an executable, this file does not by itself cause the
+# resulting executable to be covered by the GNU General Public
+# License. This exception does not however invalidate any other
+# reasons why the executable file might be covered by the GNU General
+# Public License.
+
+
+# Remove everything between `<<lrde' and `>>'.
+# This is awful, but it's working.
+exec perl -0777 -pi -e \
+ 's/\n\s*#\s*<<lrde(.|\n)+?\n\s*#\s*>>\s*\n/\n\n/g' \
+ "$@"
--
1.6.2.4
Show replies by date