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

[d592d7]: Makefile Maximize Restore History

Download this file

Makefile    50 lines (40 with data), 1.8 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
44
45
46
47
48
49
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_c_evaluation.xml ref_c_data_flow.xml ref_c_symbols.xml \
ref_c_numbers.xml ref_c_characters.xml ref_c_strings.xml \
ref_c_conses.xml ref_c_hash_tables.xml ref_c_sequences.xml \
ref_c_filenames.xml ref_c_packages.xml ref_c_printer.xml \
ref_c_system_construction.xml ref_c_environment.xml \
ref_c_objects.xml ref_c_conditions.xml ref_c_structures.xml \
ref_signals.xmlf ref_c_arrays.xml $(GEN_XMLFILES)
XSLFILES= xsl/customization.xml xsl/lispfunc.xml xsl/indexing.xml xsl/refentryintoc.xml
all: html/ecl.css
html/index.html: $(XMLFILES) $(XSLFILES)
@test -d html || mkdir html
$(XMLTO) -vv --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) $(XSLFILES)
$(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