mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-30 17:51:32 +01:00
* Fixed installation of examples for several packages compiled by fpmake
git-svn-id: trunk@20074 -
This commit is contained in:
parent
70c12e2f17
commit
3713cf0d97
@ -29,8 +29,8 @@ begin
|
|||||||
T:=P.Targets.AddUnit('gdbm.pp');
|
T:=P.Targets.AddUnit('gdbm.pp');
|
||||||
|
|
||||||
P.ExamplePath.Add('examples');
|
P.ExamplePath.Add('examples');
|
||||||
P.Targets.AddExampleProgram('tests/testgdbm.pp');
|
P.Targets.AddExampleProgram('testgdbm.pp');
|
||||||
P.Targets.AddExampleProgram('tests/testgdbm2.pp');
|
P.Targets.AddExampleProgram('testgdbm2.pp');
|
||||||
|
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
|
|||||||
@ -28,6 +28,9 @@ begin
|
|||||||
P.SourcePath.Add('src');
|
P.SourcePath.Add('src');
|
||||||
|
|
||||||
T:=P.Targets.AddUnit('gmp.pas');
|
T:=P.Targets.AddUnit('gmp.pas');
|
||||||
|
|
||||||
|
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
Run;
|
Run;
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -1263,6 +1263,17 @@ begin
|
|||||||
AddInclude('htmldocument.inc');
|
AddInclude('htmldocument.inc');
|
||||||
AddInclude('htmlview.inc');
|
AddInclude('htmlview.inc');
|
||||||
end;}
|
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}
|
{$ifndef ALLPACKAGES}
|
||||||
Run;
|
Run;
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -40,9 +40,10 @@ begin
|
|||||||
AddInclude('ibase60.inc');
|
AddInclude('ibase60.inc');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
P.ExamplePath.Add('tests');
|
P.ExamplePath.Add('examples');
|
||||||
P.Targets.AddExampleProgram('testib40.pp');
|
P.Targets.AddExampleProgram('testib40.pp');
|
||||||
P.Targets.AddExampleProgram('testib60.pp');
|
P.Targets.AddExampleProgram('testib60.pp');
|
||||||
|
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
Run;
|
Run;
|
||||||
|
|||||||
@ -30,9 +30,11 @@ begin
|
|||||||
|
|
||||||
T:=P.Targets.AddUnit('libcurl.pp');
|
T:=P.Targets.AddUnit('libcurl.pp');
|
||||||
|
|
||||||
P.ExamplePath.Add('tests');
|
P.ExamplePath.Add('examples');
|
||||||
P.Targets.AddExampleProgram('testcurl.pp');
|
P.Targets.AddExampleProgram('testcurl.pp');
|
||||||
P.Targets.AddExampleProgram('teststream.pp');
|
P.Targets.AddExampleProgram('teststream.pp');
|
||||||
|
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||||
|
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
Run;
|
Run;
|
||||||
|
|||||||
@ -21,9 +21,10 @@ begin
|
|||||||
|
|
||||||
T:=P.Targets.AddUnit('gd.pas');
|
T:=P.Targets.AddUnit('gd.pas');
|
||||||
|
|
||||||
P.ExamplePath.Add('tests');
|
P.ExamplePath.Add('examples');
|
||||||
P.Targets.AddExampleProgram('gdtestcgi.pp');
|
P.Targets.AddExampleProgram('gdtestcgi.pp');
|
||||||
P.Targets.AddExampleProgram('gdtest.pp');
|
P.Targets.AddExampleProgram('gdtest.pp');
|
||||||
|
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
Run;
|
Run;
|
||||||
|
|||||||
@ -85,10 +85,7 @@ begin
|
|||||||
P.Targets.AddExampleProgram('tree2.pas');
|
P.Targets.AddExampleProgram('tree2.pas');
|
||||||
P.Targets.AddExampleProgram('exutils.pas');
|
P.Targets.AddExampleProgram('exutils.pas');
|
||||||
P.Targets.AddExampleProgram('reader2.pas');
|
P.Targets.AddExampleProgram('reader2.pas');
|
||||||
// 'Makefile
|
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||||
// 'Makefile.fpc
|
|
||||||
// 'test1.xml
|
|
||||||
// 'test2.xml
|
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
Run;
|
Run;
|
||||||
|
|||||||
@ -122,7 +122,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
T.ResourceStrings := True;
|
T.ResourceStrings := True;
|
||||||
|
|
||||||
P.ExamplePath.Add('tests');
|
P.ExamplePath.Add('examples');
|
||||||
P.Targets.AddExampleProgram('testdb3.pp');
|
P.Targets.AddExampleProgram('testdb3.pp');
|
||||||
P.Targets.AddExampleProgram('testdb4.pp');
|
P.Targets.AddExampleProgram('testdb4.pp');
|
||||||
P.Targets.AddExampleProgram('mysqls.pp');
|
P.Targets.AddExampleProgram('mysqls.pp');
|
||||||
|
|||||||
@ -31,9 +31,9 @@ begin
|
|||||||
AddInclude('odbcsql.inc');
|
AddInclude('odbcsql.inc');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
P.ExamplePath.Add('tests');
|
P.ExamplePath.Add('examples');
|
||||||
P.Targets.AddExampleProgram('testodbc.pp');
|
P.Targets.AddExampleProgram('testodbc.pp');
|
||||||
// 'testodbc.mdb
|
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
Run;
|
Run;
|
||||||
|
|||||||
@ -51,9 +51,10 @@ begin
|
|||||||
|
|
||||||
P.Sources.AddSrc('README.txt');
|
P.Sources.AddSrc('README.txt');
|
||||||
|
|
||||||
P.ExamplePath.Add('tests/');
|
P.ExamplePath.Add('examples');
|
||||||
P.Targets.AddExampleProgram('testpg2.pp');
|
P.Targets.AddExampleProgram('testpg2.pp');
|
||||||
P.Targets.AddExampleProgram('testpg1.pp');
|
P.Targets.AddExampleProgram('testpg1.pp');
|
||||||
|
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
Run;
|
Run;
|
||||||
|
|||||||
@ -28,8 +28,9 @@ begin
|
|||||||
|
|
||||||
T.ResourceStrings := True;
|
T.ResourceStrings := True;
|
||||||
|
|
||||||
P.ExamplePath.Add('tests');
|
P.ExamplePath.Add('examples');
|
||||||
P.Targets.AddExampleProgram('testreg1.pp');
|
P.Targets.AddExampleProgram('testreg1.pp');
|
||||||
|
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
Run;
|
Run;
|
||||||
|
|||||||
@ -24,9 +24,10 @@ begin
|
|||||||
|
|
||||||
P.Sources.AddSrc('README.txt');
|
P.Sources.AddSrc('README.txt');
|
||||||
|
|
||||||
P.ExamplePath.Add('tests/');
|
P.ExamplePath.Add('examples');
|
||||||
P.Targets.AddExampleProgram('testvga.pp');
|
P.Targets.AddExampleProgram('testvga.pp');
|
||||||
P.Targets.AddExampleProgram('vgatest.pp');
|
P.Targets.AddExampleProgram('vgatest.pp');
|
||||||
|
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
Run;
|
Run;
|
||||||
|
|||||||
@ -21,8 +21,9 @@ begin
|
|||||||
|
|
||||||
T:=P.Targets.AddUnit('systemlog.pp');
|
T:=P.Targets.AddUnit('systemlog.pp');
|
||||||
|
|
||||||
P.ExamplePath.Add('tests/');
|
P.ExamplePath.Add('examples');
|
||||||
P.Targets.AddExampleProgram('testlog.pp');
|
P.Targets.AddExampleProgram('testlog.pp');
|
||||||
|
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
Run;
|
Run;
|
||||||
|
|||||||
@ -25,9 +25,11 @@ begin
|
|||||||
|
|
||||||
P.Sources.AddSrc('README.txt');
|
P.Sources.AddSrc('README.txt');
|
||||||
|
|
||||||
P.ExamplePath.Add('tests/');
|
P.ExamplePath.Add('examples');
|
||||||
P.Targets.AddExampleProgram('testlibuid.pp');
|
P.Targets.AddExampleProgram('testlibuid.pp');
|
||||||
P.Targets.AddExampleProgram('testuid.pp');
|
P.Targets.AddExampleProgram('testuid.pp');
|
||||||
|
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||||
|
|
||||||
|
|
||||||
{$ifndef ALLPACKAGES}
|
{$ifndef ALLPACKAGES}
|
||||||
Run;
|
Run;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user