]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
PR:
authorjtauber <jtauber@unknown>
Wed, 17 Nov 1999 01:33:15 +0000 (01:33 +0000)
committerjtauber <jtauber@unknown>
Wed, 17 Nov 1999 01:33:15 +0000 (01:33 +0000)
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193224 13f79535-47bb-0310-9956-ffa450edef68

Makefile
Makefile.rules
src/Makefile [new file with mode: 0644]
src/codegen/code-point-mapping.xsl
src/codegen/font-file.xsl
src/codegen/properties.xsl
src/org/Makefile
src/org/apache/Makefile

index 2f4056071153d5e6b37e15982129eb45bfccc341..27f51a087eb474486677fd54af5489a4048c21b9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,9 @@ BASEDIR=.
 
 include $(BASEDIR)/Makefile.rules
 
-SUBDIRS=org
+SUBDIRS=src
 
-CODEGEN=codegen
+CODEGEN=src/codegen
 
 GENDIR=generated
 
@@ -65,8 +65,8 @@ compilegen: properties charlist fonts
        done
 
 $(GENDIR): 
-       mkdir -p $(GENDIR)/org/apache/xml/fop/fo/properties;
-       mkdir -p $(GENDIR)/org/apache/xml/fop/render/pdf/fonts;
+       mkdir -p $(GENDIR)/org/apache/fop/fo/properties;
+       mkdir -p $(GENDIR)/org/apache/fop/render/pdf/fonts;
 
 properties: $(PROPERTIESXML) $(PROPERTIESXSL)
        cd $(GENDIR) && $(XT) ../$(PROPERTIESXML) ../$(PROPERTIESXSL)
index 0eb223b63737ac1de9ed0ba54b01bf217c8ff826..c3ac5ff65a6c4585e1874c4441e3d3fe3f0dc307 100644 (file)
@@ -8,7 +8,7 @@ JAVAC = javac
 #JAVAC_ARGS = -g $(BASEDIR)/generated:$(CLASSPATH)
 
 # following class path is for CygWin bash
-JAVAC_ARGS = -g:none -classpath "$(BASEDIR)/generated;$(CLASSPATH)"
+JAVAC_ARGS = -g:none -classpath "$(BASEDIR)/src;$(BASEDIR)/generated;$(CLASSPATH)"
 
 FIND=find
 TAR=tar
diff --git a/src/Makefile b/src/Makefile
new file mode 100644 (file)
index 0000000..1c6786f
--- /dev/null
@@ -0,0 +1,20 @@
+
+
+BASEDIR:=..
+include $(BASEDIR)/Makefile.rules
+
+SUBDIRS=org
+
+all: allsubs
+
+clean: cleanme cleansubs
+
+cleanme:
+       rm -f *.class
+
+
+$(TARGETS:%=%subs): %subs :
+       for dir in $(SUBDIRS) ; do \
+               (cd $$dir && pwd && $(MAKE) $(MFLAGS) $*) || exit 1 ; \
+       done
+
index 689abd8d83bdbe55c9719432f20aa1e23fce5b9a..36af548347e4df6685ca7121c4ab42e6c6f18841 100644 (file)
@@ -2,7 +2,7 @@
  xmlns:xt="http://www.jclark.com/xt" extension-element-prefixes="xt"
  version="1.0">
 <template match="font-mappings">
-<xt:document href="src/org/apache/fop/render/pdf/CodePointMapping.java">
+<xt:document href="org/apache/fop/render/pdf/CodePointMapping.java">
 package org.apache.fop.render.pdf;
 
 public class CodePointMapping {
index 0a52f7563a7e02dcc80a1a661712b1f9d3bb37d5..b72fa5fc9df5a7ba1897c46c878b95b1ee35723f 100644 (file)
@@ -3,10 +3,10 @@
  version="1.0">
 <template match="font-metrics">
 <variable name="class-name" select="class-name"/>
-<xt:document method="text" href="org/apache/xml/fop/render/pdf/fonts/{$class-name}.java">
-package org.apache.xml.fop.render.pdf.fonts;
+<xt:document method="text" href="org/apache/fop/render/pdf/fonts/{$class-name}.java">
+package org.apache.fop.render.pdf.fonts;
 
-import org.apache.xml.fop.render.pdf.Font;
+import org.apache.fop.render.pdf.Font;
 
 public class <value-of select="class-name"/> extends Font {
     private final static String fontName = "<value-of select="font-name"/>";
index 7c9be05dff04302b0ed714cf1b9fcd595ff2d2c5..a48135b7782ae4b049e9b0d7f00134e4aaff0022 100644 (file)
@@ -3,7 +3,7 @@
  version="1.0">
 <template match="property" priority="-1">
 <variable name="classname" select="class-name"/>
-<xt:document method="text" href="src/org/apache/fop/fo/properties/{$classname}.java">
+<xt:document method="text" href="org/apache/fop/fo/properties/{$classname}.java">
 package org.apache.fop.fo.properties;
 
 import org.apache.fop.datatypes.*;
@@ -70,7 +70,7 @@ public class <value-of select="class-name"/> extends Property {
 
 <template match="property[datatype/enumeration]">
 <variable name="classname" select="class-name"/>
-<xt:document method="text" href="src/org/apache/xml/fop/fo/properties/{$classname}.java">
+<xt:document method="text" href="org/apache/fop/fo/properties/{$classname}.java">
 package org.apache.fop.fo.properties;
 
 import org.apache.fop.datatypes.*;
index fa3129b6c3442fc57d55eda7179e22f40d954972..c39f186b5e98bc49dbfec6ef7cce41a1a9da6b3f 100644 (file)
@@ -1,6 +1,6 @@
 
 
-BASEDIR:=..
+BASEDIR:=../..
 include $(BASEDIR)/Makefile.rules
 
 SUBDIRS=apache
index 10781e4b033fe6873b6ae020bb1e24824ccf2597..4a965492c56400d5db5bfb11d04616ffa1fc8ce8 100644 (file)
@@ -1,9 +1,9 @@
 
 
-BASEDIR:=../..
+BASEDIR:=../../..
 include $(BASEDIR)/Makefile.rules
 
-SUBDIRS=xml
+SUBDIRS=fop
 
 all: allsubs