changed awk to gawk

run configure script

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2257 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blaszijk 2012-01-12 22:05:12 +00:00
parent e6e8c96df4
commit 564e5aa6b1
3 changed files with 23 additions and 2 deletions

View File

@ -1,3 +1,3 @@
/bin/ls -1 */fpmake.pp | awk -F '/' '/fpmake.pp/ { printf "procedure add_%s;\nbegin\n with Installer do\n {$include %s}\nend;\n\n",gensub("-","_","g",$1),$0; }' > fpmake_proc.inc
/bin/ls -1 */fpmake.pp | awk -F '/' '/fpmake.pp/ { printf " add_%s;\n",gensub("-","_","g",$1); }' > fpmake_add.inc
/bin/ls -1 */fpmake.pp | gawk -F '/' '/fpmake.pp/ { printf "procedure add_%s;\nbegin\n with Installer do\n {$include %s}\nend;\n\n",gensub("-","_","g",$1),$0; }' > fpmake_proc.inc
/bin/ls -1 */fpmake.pp | gawk -F '/' '/fpmake.pp/ { printf " add_%s;\n",gensub("-","_","g",$1); }' > fpmake_add.inc

View File

@ -0,0 +1,3 @@
add_examples;
add_src;
add_utils;

View File

@ -0,0 +1,18 @@
procedure add_examples;
begin
with Installer do
{$include examples/fpmake.pp}
end;
procedure add_src;
begin
with Installer do
{$include src/fpmake.pp}
end;
procedure add_utils;
begin
with Installer do
{$include utils/fpmake.pp}
end;