mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 21:41:01 +02:00
added missing lpl
git-svn-id: trunk@16037 -
This commit is contained in:
parent
b7d11f8678
commit
b8fab978f6
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -3623,6 +3623,7 @@ packager/globallinks/lazcustomform-0.lpl svneol=native#text/plain
|
||||
packager/globallinks/lazdaemon-0.lpl svneol=native#text/plain
|
||||
packager/globallinks/lazdatadict-0.lpl svneol=native#text/plain
|
||||
packager/globallinks/lazdbexport-0.lpl svneol=native#text/plain
|
||||
packager/globallinks/lazmouseandkeyinput-0.lpl svneol=native#text/plain
|
||||
packager/globallinks/lazopenglcontext-0.lpl svneol=native#text/plain
|
||||
packager/globallinks/lazparadox-0.lpl svneol=native#text/plain
|
||||
packager/globallinks/lazreport-0.9.5.lpl svneol=native#text/plain
|
||||
|
1
packager/globallinks/lazmouseandkeyinput-0.lpl
Normal file
1
packager/globallinks/lazmouseandkeyinput-0.lpl
Normal file
@ -0,0 +1 @@
|
||||
$(LazarusDir)/components/mouseandkeyinput/lazmouseandkeyinput.lpk
|
@ -5,12 +5,22 @@
|
||||
|
||||
set -e
|
||||
|
||||
LazDir=..
|
||||
if [ ! -e tools ]; then
|
||||
echo "please cd to lazarus source directory before running this script"
|
||||
exit
|
||||
fi
|
||||
|
||||
LPKFiles=$(find $LazDir -name '*.lpk' | xargs)
|
||||
LPKFiles=$(find . -name '*.lpk' | xargs)
|
||||
for LPK in $LPKFiles; do
|
||||
LPKName=$(echo $LPK | sed -e 's/.*\///' -e 's/.lpk//')
|
||||
ls $LazDir/packager/globallinks/${LPKName}-*.lpl 2>/dev/null > /dev/null || echo missing lpl for $LPK
|
||||
Missing=
|
||||
ls packager/globallinks/${LPKName}-*.lpl >/dev/null 2>/dev/null || Missing=1
|
||||
if [ -n "$Missing" ]; then
|
||||
echo missing lpl for $LPK
|
||||
LPK=$(echo $LPK | sed -e 's/^\.\///')
|
||||
LPLFilename=packager/globallinks/$LPKName-0.lpl
|
||||
echo '$(LazarusDir)/'$LPK > $LPLFilename
|
||||
fi
|
||||
done
|
||||
|
||||
#end.
|
||||
|
Loading…
Reference in New Issue
Block a user