From ae9e33ed88849bfdf4a9530f674701cc32d72563 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 20 Jul 2008 15:57:03 +1000 Subject: Make strip paths configurable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch introduces a new STRIP_DIRS makepkg.conf option to change makepkg's search path when stripping binaries. Original work by: Thomas Bächler Signed-off-by: Allan McRae Signed-off-by: Dan McGee --- etc/makepkg.conf.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc') diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in index bb2018f1..0241a8ec 100644 --- a/etc/makepkg.conf.in +++ b/etc/makepkg.conf.in @@ -73,6 +73,8 @@ OPTIONS=(strip docs libtool emptydirs zipman) INTEGRITY_CHECK=(md5) #-- Info and doc directories to remove (if option set correctly above) DOC_DIRS=(usr/{,share/}{info,doc,gtk-doc} opt/*/{info,doc,gtk-doc}) +#-- Directories to be searched for the strip option (if option set correctly above) +STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin}) ######################################################################### # PACKAGE OUTPUT -- cgit v1.2.3-70-g09d2