mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
[project @ 2003-06-04 22:12:32 by bursa]
Generate documentation. svn path=/import/netsurf/; revision=155
This commit is contained in:
parent
59bb374da1
commit
ca58b6969f
9
makefile
9
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 <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)
|
||||
|
Loading…
Reference in New Issue
Block a user