From 12e69659e2dd20aba102cbcca087805bced0ce31 Mon Sep 17 00:00:00 2001 From: Rizal Martin <49640119+rizalmart@users.noreply.github.com> Date: Tue, 21 Mar 2023 23:36:18 +0800 Subject: [PATCH] perl_FIXUPHACK: Move perl docs and dev files --- woof-code/packages-templates/perl_FIXUPHACK | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/woof-code/packages-templates/perl_FIXUPHACK b/woof-code/packages-templates/perl_FIXUPHACK index 5e60bc8f7fb..0c0c562ab5e 100644 --- a/woof-code/packages-templates/perl_FIXUPHACK +++ b/woof-code/packages-templates/perl_FIXUPHACK @@ -5,4 +5,20 @@ for SO in JP.so KR.so CN.so TW.so; do mkdir -p "../perl_NLS/$PARENT" mv $DIR "../perl_NLS/$PARENT/" done -done \ No newline at end of file +done + +#Look for pod files +find . -name "*.pod" -type f | while read FILE; do + DIR=`dirname $FILE` + PARENT=`dirname $DIR` + mkdir -p "../perl_DOC/$PARENT" + mv $DIR "../perl_DOC/$PARENT/" +done + +#Look for header files +find . -name "*.h" -type f | while read FILE; do + DIR=`dirname $FILE` + PARENT=`dirname $DIR` + mkdir -p "../perl_DEV/$PARENT" + mv $DIR "../perl_DEV/$PARENT/" +done