Makefile for docs

Ian vern at riseup.net
Thu Aug 9 02:04:06 UTC 2007


H i,
I am trying to build the mobileguide as html.
I found your Makefile example on https://help.ubuntu.com/community/DocBook so mine looks like:


 # Add your language file here:
 TARGETS = mobileguide.html

 XSLTPROC = /usr/bin/xsltproc
 XSL = ubuntu.xsl

 %.html: %.xml $(XSL)
    @$(XSLTPROC) -o $@ $(XSL) $<

 all: $(TARGETS)

 clean:
    @rm -f *.html

I have this in the root of the mobileguide folder.It is failing on:

make: *** No rule to make target `mobileguide.html', needed by `all'.  Stop.

Any idea what the problem is?

[]ś
Ian
Ian
-- 
http://ianlawrence.info






More information about the ubuntu-doc mailing list