added missing lpl

git-svn-id: trunk@16037 -
This commit is contained in:
mattias 2008-08-12 13:47:42 +00:00
parent b7d11f8678
commit b8fab978f6
3 changed files with 15 additions and 3 deletions

1
.gitattributes vendored
View File

@ -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

View File

@ -0,0 +1 @@
$(LazarusDir)/components/mouseandkeyinput/lazmouseandkeyinput.lpk

View File

@ -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.