mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-22 09:45:22 +02: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');
|
||||
|
||||
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}
|
||||
|
@ -28,6 +28,9 @@ begin
|
||||
P.SourcePath.Add('src');
|
||||
|
||||
T:=P.Targets.AddUnit('gmp.pas');
|
||||
|
||||
P.Sources.AddExampleFiles('examples/*',false,'.');
|
||||
|
||||
{$ifndef ALLPACKAGES}
|
||||
Run;
|
||||
end;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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');
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user