Mercurial > ecos
diff packages/pkgconf/rules.doc @ 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 | d07c82d4fff1 |
| children | e8c26a87a317 |
line wrap: on
line diff
--- 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 $<
