include $(BASEDIR)/Makefile.rules
-SUBDIRS=org
+SUBDIRS=src
-CODEGEN=codegen
+CODEGEN=src/codegen
GENDIR=generated
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)
#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
--- /dev/null
+
+
+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
+
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 {
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"/>";
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.*;
<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.*;
-BASEDIR:=..
+BASEDIR:=../..
include $(BASEDIR)/Makefile.rules
SUBDIRS=apache
-BASEDIR:=../..
+BASEDIR:=../../..
include $(BASEDIR)/Makefile.rules
-SUBDIRS=xml
+SUBDIRS=fop
all: allsubs