summaryrefslogtreecommitdiff
path: root/packages/libxml
diff options
context:
space:
mode:
authormarco <marco@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-10-22 22:08:05 +0000
committermarco <marco@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-10-22 22:08:05 +0000
commit478c32ae5aceca9fadcd0de357bf5055c610c42d (patch)
tree6e702ba26851e52479f0584fcd7a2e3becd4b25a /packages/libxml
parent36a5448b083a367683c49d18163df19a76037b2b (diff)
downloadfpc-478c32ae5aceca9fadcd0de357bf5055c610c42d.tar.gz
* More fpmake fixes. Exampledirs and includefiles mostly fixed for these.
gdbint moves two examples from src to exampledir + makefile fix. git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@11949 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/libxml')
-rw-r--r--packages/libxml/fpmake.pp16
1 files changed, 15 insertions, 1 deletions
diff --git a/packages/libxml/fpmake.pp b/packages/libxml/fpmake.pp
index 4847e61355..fbfa2a1aae 100644
--- a/packages/libxml/fpmake.pp
+++ b/packages/libxml/fpmake.pp
@@ -18,6 +18,7 @@ begin
{$endif ALLPACKAGES}
P.Version:='2.2.2-0';
P.SourcePath.Add('src');
+ P.IncludePath.Add('src');
T:=P.Targets.AddUnit('libxml2.pas');
with T.Dependencies do
@@ -35,7 +36,7 @@ begin
AddInclude('uri.inc');
AddInclude('debugXML.inc');
AddInclude('xmlunicode.inc');
- AddInclude('DOCBparser.inc');
+// AddInclude('DOCBparser.inc');
AddInclude('xmlIO.inc');
AddInclude('xmlsave.inc');
AddInclude('HTMLtree.inc');
@@ -71,6 +72,19 @@ begin
AddInclude('schematron.inc');
end;
+ P.ExamplePath.Add('examples');
+ P.Targets.AddExampleProgram('reader1.pas');
+ P.Targets.AddExampleProgram('io2.pas');
+ P.Targets.AddExampleProgram('io1.pas');
+ P.Targets.AddExampleProgram('tree1.pas');
+ P.Targets.AddExampleProgram('tree2.pas');
+ P.Targets.AddExampleProgram('exutils.pas');
+ P.Targets.AddExampleProgram('reader2.pas');
+ // 'Makefile
+ // 'Makefile.fpc
+ // 'test1.xml
+ // 'test2.xml
+
{$ifndef ALLPACKAGES}
Run;
end;