From ca58b6969f7a1913bfc19f3a258f5cb4811d5d7a Mon Sep 17 00:00:00 2001 From: James Bursa Date: Wed, 4 Jun 2003 22:12:32 +0000 Subject: [project @ 2003-06-04 22:12:32 by bursa] Generate documentation. svn path=/import/netsurf/; revision=155 --- makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 84cdb6e40..20378d2e5 100644 --- a/makefile +++ b/makefile @@ -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 # --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) -- cgit v1.2.3