Mercurial > flash_v2
changeset 660:2531a99fbf4a
* pkgconf/rules.doc: Allow support for copying files directly from
source doc dir to build dir. Primarily intended for copying over
pre-built GIFs for the moment.
| author | jlarmour |
|---|---|
| date | Mon, 24 Feb 2003 14:05:01 +0000 |
| parents | 007ddf4d1979 |
| children | 8db735631ddb |
| files | packages/ChangeLog packages/pkgconf/rules.doc |
| diffstat | 2 files changed, 16 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/ChangeLog +++ b/packages/ChangeLog @@ -1,3 +1,9 @@ +2003-02-24 Jonathan Larmour <jifl@eCosCentric.com> + + * pkgconf/rules.doc: Allow support for copying files directly from + source doc dir to build dir. Primarily intended for copying over + pre-built GIFs for the moment. + 2003-02-20 Gary Thomas <gary@mind.be> * ecos.db: New platform - NMI uE250 (ARM Xscale PXA250)
--- a/packages/pkgconf/rules.doc +++ b/packages/pkgconf/rules.doc @@ -53,7 +53,7 @@ #####DESCRIPTIONEND#### #============================================================================= -.PHONY: default check html pdf clean +.PHONY: default check html pdf clean copyfiles # Locations of the stylesheets and other SGML support files. These # have moved around in various releases of the tools. @@ -99,6 +99,14 @@ PNGS :=$(foreach x,$(PICTURES),$(x).png) %.eps: %.fig convert -crop 0x0 $< $@ +# This is a little grotty. In some cases we want to just copy files from +# their source location to the destination's current dir and nothing +# more. +copyfiles: +ifneq (,$(COPYFILES)) + cp $(COPYFILES) . +endif + default: check # Validating an sgml document can be achieved with @@ -108,7 +116,7 @@ check: $(MAIN_SGML) $(OTHER_SGML) $(GIFS # Generating HTML from the SGML. In practice multiple .html files may # be generated, but for the purposes of dependency analysis the others # can be ignored. -html: $(MAIN_HTML) +html: copyfiles $(MAIN_HTML) $(MAIN_HTML): $(MAIN_SGML) $(OTHER_SGML) $(GIFS) $(ECOS_STYLESHEET) $(FIXHTML) jade -t sgml -i html -c $(DSSSL_CATALOG) -d $(ECOS_STYLESHEET)#html $<
