File: xmlada-split.diff

package info (click to toggle)
asis 2015-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,640 kB
  • sloc: ada: 140,372; makefile: 260; sh: 50; xml: 48; csh: 10
file content (47 lines) | stat: -rw-r--r-- 1,327 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Description: only import used xmlada sublibraries in gnat2xml projects
 Using the compatibility xmlada.gpr would imply an unneeded dependency
 on libxmlada-schema-dev.
Author: Nicolas Boulenguez <nicolas@debian.org>

--- a/tools/gnat2xml/boot.gpr
+++ b/tools/gnat2xml/boot.gpr
@@ -1,6 +1,8 @@
 --  Project file used by Makefile to build the stage 2 version
 
-with "xmlada";
+with "xmlada_input_sources";
+with "xmlada_sax";
+with "xmlada_dom";
 with "../../../../../asis";
 --  This gets copied into .../ASIS/tools/gnat2xml/stage/1/generated_ada,
 --  and we're referring to .../ASIS/asis.gpr.
--- a/tools/gnat2xml/gnat2xml.gpr
+++ b/tools/gnat2xml/gnat2xml.gpr
@@ -1,4 +1,6 @@
-with "xmlada";
+with "xmlada_input_sources";
+with "xmlada_sax";
+with "xmlada_dom";
 with "../../asis";
 with "../../common";
 
--- a/tools/gnat2xml/self_rep.gpr
+++ b/tools/gnat2xml/self_rep.gpr
@@ -1,4 +1,6 @@
-with "xmlada";
+with "xmlada_input_sources";
+with "xmlada_sax";
+with "xmlada_dom";
 with "../../asis";
 with "../../common";
 
--- a/tools/gnat2xml/tokens.gpr
+++ b/tools/gnat2xml/tokens.gpr
@@ -1,4 +1,6 @@
-with "xmlada";
+with "xmlada_input_sources";
+with "xmlada_sax";
+with "xmlada_dom";
 with "../../../../asis";
 --  This gets copied into .../ASIS/tools/gnat2xml/stage/tokens,
 --  and we're referring to .../ASIS/asis.gpr.