* Fixed installation of examples for several packages compiled by fpmake

git-svn-id: trunk@20074 -
This commit is contained in:
joost 2012-01-14 12:42:35 +00:00
parent 70c12e2f17
commit 3713cf0d97
14 changed files with 39 additions and 18 deletions

View File

@ -29,8 +29,8 @@ begin
T:=P.Targets.AddUnit('gdbm.pp');
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('tests/testgdbm.pp');
P.Targets.AddExampleProgram('tests/testgdbm2.pp');
P.Targets.AddExampleProgram('testgdbm.pp');
P.Targets.AddExampleProgram('testgdbm2.pp');
{$ifndef ALLPACKAGES}

View File

@ -28,6 +28,9 @@ begin
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('gmp.pas');
P.Sources.AddExampleFiles('examples/*',false,'.');
{$ifndef ALLPACKAGES}
Run;
end;

View File

@ -1263,6 +1263,17 @@ begin
AddInclude('htmldocument.inc');
AddInclude('htmlview.inc');
end;}
P.Sources.AddExampleFiles('examples/*',false,'.');
P.Sources.AddExampleFiles('examples/filechooser/*',false,'filechooser');
P.Sources.AddExampleFiles('examples/gettingstarted/*',false,'gettingstarted');
P.Sources.AddExampleFiles('examples/gtk_demo/*',false,'gtk_demo');
P.Sources.AddExampleFiles('examples/gtkglext/*',false,'gtkglext');
P.Sources.AddExampleFiles('examples/helloworld/*',false,'helloworld');
P.Sources.AddExampleFiles('examples/helloworld2/*',false,'helloworld2');
P.Sources.AddExampleFiles('examples/plugins/*',false,'plugins');
P.Sources.AddExampleFiles('examples/scribble_simple/*',false,'scribble_simple');
{$ifndef ALLPACKAGES}
Run;
end;

View File

@ -40,9 +40,10 @@ begin
AddInclude('ibase60.inc');
end;
P.ExamplePath.Add('tests');
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('testib40.pp');
P.Targets.AddExampleProgram('testib60.pp');
P.Sources.AddExampleFiles('examples/*',false,'.');
{$ifndef ALLPACKAGES}
Run;

View File

@ -30,9 +30,11 @@ begin
T:=P.Targets.AddUnit('libcurl.pp');
P.ExamplePath.Add('tests');
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('testcurl.pp');
P.Targets.AddExampleProgram('teststream.pp');
P.Sources.AddExampleFiles('examples/*',false,'.');
{$ifndef ALLPACKAGES}
Run;

View File

@ -21,9 +21,10 @@ begin
T:=P.Targets.AddUnit('gd.pas');
P.ExamplePath.Add('tests');
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('gdtestcgi.pp');
P.Targets.AddExampleProgram('gdtest.pp');
P.Sources.AddExampleFiles('examples/*',false,'.');
{$ifndef ALLPACKAGES}
Run;

View File

@ -85,10 +85,7 @@ begin
P.Targets.AddExampleProgram('tree2.pas');
P.Targets.AddExampleProgram('exutils.pas');
P.Targets.AddExampleProgram('reader2.pas');
// 'Makefile
// 'Makefile.fpc
// 'test1.xml
// 'test2.xml
P.Sources.AddExampleFiles('examples/*',false,'.');
{$ifndef ALLPACKAGES}
Run;

View File

@ -122,7 +122,7 @@ begin
end;
T.ResourceStrings := True;
P.ExamplePath.Add('tests');
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('testdb3.pp');
P.Targets.AddExampleProgram('testdb4.pp');
P.Targets.AddExampleProgram('mysqls.pp');

View File

@ -31,9 +31,9 @@ begin
AddInclude('odbcsql.inc');
end;
P.ExamplePath.Add('tests');
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('testodbc.pp');
// 'testodbc.mdb
P.Sources.AddExampleFiles('examples/*',false,'.');
{$ifndef ALLPACKAGES}
Run;

View File

@ -51,10 +51,11 @@ begin
P.Sources.AddSrc('README.txt');
P.ExamplePath.Add('tests/');
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('testpg2.pp');
P.Targets.AddExampleProgram('testpg1.pp');
P.Sources.AddExampleFiles('examples/*',false,'.');
{$ifndef ALLPACKAGES}
Run;
end;

View File

@ -28,8 +28,9 @@ begin
T.ResourceStrings := True;
P.ExamplePath.Add('tests');
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('testreg1.pp');
P.Sources.AddExampleFiles('examples/*',false,'.');
{$ifndef ALLPACKAGES}
Run;

View File

@ -24,9 +24,10 @@ begin
P.Sources.AddSrc('README.txt');
P.ExamplePath.Add('tests/');
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('testvga.pp');
P.Targets.AddExampleProgram('vgatest.pp');
P.Sources.AddExampleFiles('examples/*',false,'.');
{$ifndef ALLPACKAGES}
Run;

View File

@ -21,8 +21,9 @@ begin
T:=P.Targets.AddUnit('systemlog.pp');
P.ExamplePath.Add('tests/');
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('testlog.pp');
P.Sources.AddExampleFiles('examples/*',false,'.');
{$ifndef ALLPACKAGES}
Run;

View File

@ -25,9 +25,11 @@ begin
P.Sources.AddSrc('README.txt');
P.ExamplePath.Add('tests/');
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('testlibuid.pp');
P.Targets.AddExampleProgram('testuid.pp');
P.Sources.AddExampleFiles('examples/*',false,'.');
{$ifndef ALLPACKAGES}
Run;