>>>> "Jerry" == Jerry James
<james(a)eecs.ukans.edu> writes:
Jerry> Steve Youngs <youngs(a)xemacs.org> wrote:
> The problem is that the Makefile sets
>
> DATA_1_FILES = $(wildcard etc/cdtd/[hi]*)
>
> Which is empty until after the build is finished. If you do a second
> 'make' (with out clean or distclean) the files in etc/cdtd/ get
> installed.
>
> A Makefile problem, I'd say.
>
> Jerry, can you fix it?
Jerry> I'm having trouble getting around to looking at this, but
Well, does will make it difficult for you to fix it :-)
If you do look at it, the following may be a thought.
The DTDs to be compiled by
sgml-compile-all-dtds
are in psgml/etc/ECAT.
The problem is to get them outta there.
Here is a partial solution. You'll have to get rid of the FILE
components.
Hope this helps,
Adrian
----------------------------------------------------------------------------
DTDs = $(shell cut -f 1 etc/ECAT)
CDTDs = $(DTDs:%.dtd=etc/cdtd/%)
all:
@echo "DTDs:"
@echo $(DTDs)
@echo "CDTDs:"
@echo $(CDTDs)
----------------------------------------------------------------------------
cd c:\Hacking\XEmacs\xemacs-packages\oa\psgml\
make -f apa.mk all
Compilation started at Wed Jan 24 00:42:55 2001 +0100 (W. Europe Standard Time)
DTDs:
FILE html.dtd FILE html.dtd FILE html-3.dtd FILE html-3.dtd FILE html-3.2.dtd FILE
html-4frame.dtd FILE html-4s.dtd FILE html-4.01frame.dtd FILE html-4.01s.dtd FILE
xhtml1-transitional.dtd [ ] FILE xhtml1-strict.dtd FILE xhtml1-frameset.dtd [ ] FILE
docbook.dtd FILE mathml.dtd
CDTDs:
FILE etc/cdtd/html FILE etc/cdtd/html FILE etc/cdtd/html-3 FILE etc/cdtd/html-3 FILE
etc/cdtd/html-3.2 FILE etc/cdtd/html-4frame FILE etc/cdtd/html-4s FILE
etc/cdtd/html-4.01frame FILE etc/cdtd/html-4.01s FILE etc/cdtd/xhtml1-transitional [ ]
FILE etc/cdtd/xhtml1-strict FILE etc/cdtd/xhtml1-frameset [ ] FILE etc/cdtd/docbook FILE
etc/cdtd/mathml
Compilation finished at Wed Jan 24 00:42:55
----------------------------------------------------------------------------
Jerry> my first impulse is to try:
Jerry> DATA_1_FILES = etc/cdtd
Jerry> which will (hopefully) package up the entire directory, regardless of
Jerry> its contents. Does that work? If not, I'll look into it in more depth
Jerry> in a couple of days.
Jerry> --
Jerry> Jerry James
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/