Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[d0e0b7]: Makefile Maximize Restore History

Download this file

Makefile    44 lines (34 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
XMLTO = xmlto
GEN_XMLFILES= tmp/COPYING.GFDL.xml
XMLFILES= ecl.xml bibliography.xmlf clos.xmlf compiler.xmlf \
declarations.xmlf ecldev.xmlf \
internals.xmlf interpreter.xmlf preface.xmlf \
io.xmlf mp.xmlf asdf.xmlf os.xmlf pde.xmlf \
standards.xmlf copyright.xmlf ffi.xmlf ref_os.xmlf \
uffi/ref_primitive.xml uffi/ref_aggregate.xml uffi/ref_object.xml \
uffi/ref_string.xml uffi/ref_func_libr.xml \
mp.xmlf ref_mp.xmlf memory.xmlf ref_memory.xmlf \
mop.xmlf embed.xmlf ref_embed.xmlf signals.xmlf \
ref_signals.xmlf $(GEN_XMLFILES)
XSLFILES= xsl/lispfunc.xml xsl/customization.xml xsl/refentryintoc.xml
all: html/ecl.css
html/index.html: $(XMLFILES)
@test -d html || mkdir html
$(XMLTO) --skip-validation $(subst xsl, -m xsl,$(XSLFILES)) -o html html ecl.xml
cp ecl.css html/
html/ecl.css: ecl.css html/index.html
cp ecl.css html/
@test -d html/figures || mkdir html/figures
cp figures/*.png html/figures/
ecl.pdf: $(XMLFILES)
$(XMLTO) -o $@ pdf ecl.xml
tmp/ecl.ent: ecl.ent
cp $< $@
tmp/COPYING.GFDL.xml: COPYING.GFDL Makefile
echo '<![CDATA[' > $@
cat $< >> $@
echo ']]>' >> $@
jing:
java -jar ~/Downloads/jing-20081028/bin/jing.jar -t -i /usr/local/Cellar/docbook/5.0/docbook/xml/5.0/rng/docbookxi.rng ecl.xml
clean:
rm -f tmp/ecl.ent $(GEN_XMLFILES) html/*.html