diff options
author | James Bursa <james@netsurf-browser.org> | 2003-06-04 22:12:32 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-06-04 22:12:32 +0000 |
commit | ca58b6969f7a1913bfc19f3a258f5cb4811d5d7a (patch) | |
tree | 65b8eedc105fdb70bac56cd120609db6aa77afea /makefile | |
parent | 59bb374da1173e716b879efed18d304054829521 (diff) | |
download | netsurf-ca58b6969f7a1913bfc19f3a258f5cb4811d5d7a.tar.gz netsurf-ca58b6969f7a1913bfc19f3a258f5cb4811d5d7a.tar.bz2 |
[project @ 2003-06-04 22:12:32 by bursa]
Generate documentation.
svn path=/import/netsurf/; revision=155
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,4 +1,4 @@ -# $Id: makefile,v 1.27 2003/06/04 21:59:01 jmb Exp $ +# $Id: makefile,v 1.28 2003/06/04 22:12:32 bursa Exp $ CC = riscos-gcc OBJECTS = cache.o content.o fetch.o fetchcache.o \ @@ -26,13 +26,12 @@ OBJDIR = $(shell $(CC) -dumpmachine) SOURCES=$(OBJECTS:.o=.c) OBJS=$(OBJECTS:%.o=$(OBJDIR)/%.o) DOCDIR = !NetSurf/Docs -DOCS=$(DOCUMENTS:%.html=$(DOCDIR/%.html) +DOCS=$(DOCUMENTS:%.html=$(DOCDIR)/%.html) # targets -all: !NetSurf/!RunImage,ff8 Docs +all: !NetSurf/!RunImage,ff8 $(DOCS) !NetSurf/!RunImage,ff8 : $(OBJS) $(CC) -o $@ $(LDFLAGS) $^ -Docs: $(DOCS) netsurf.zip: !NetSurf/!RunImage,ff8 rm netsurf.zip; riscos-zip -9vr, netsurf.zip !NetSurf @@ -52,7 +51,7 @@ css/scanner.c css/scanner.h: css/scanner.l $(DOCDIR)/%.html: documentation/%.xml # syntax: xsltproc [options] -o <output file> <XSL stylesheet> <input file> # --nonet prevents connection to the web to find the stylesheet - xsltproc --nonet -o $@ http://www.movspclr.co.uk/dtd/100/prm-html.xsl $< + xsltproc -o $@ http://www.movspclr.co.uk/dtd/100/prm-html.xsl $< # generate dependencies depend : $(SOURCES) |