Makefile.am 1006 Bytes
Newer Older
Benoit Perrot's avatar
Benoit Perrot committed
1
AM_MAKEINFOFLAGS = --no-split
2
TEXI2DVI = env LANG=C texi2dvi --batch
Benoit Perrot's avatar
Benoit Perrot committed
3

Benoit Perrot's avatar
Benoit Perrot committed
4

5
FROM_INST_SET_TEXI_GEN_PY =	\
Benoit Perrot's avatar
Benoit Perrot committed
6 7 8
	inst-set.texi

BUILT_SOURCES =							\
9
	$(FROM_INST_SET_TEXI_GEN_PY) inst-set.texi.stamp
Benoit Perrot's avatar
Benoit Perrot committed
10

11 12 13 14 15 16 17
EXTRA_DIST = $(srcdir)/inst-set.texi.gen.py
inst-set.texi.stamp: $(srcdir)/inst-set.texi.gen.py $(top_srcdir)/dev/nolimips.xml
	@rm -rf $@.tmp
	@touch $@.tmp
	PYTHONPATH="$(top_srcdir)/dev/:$$PYTHONPATH" $(srcdir)/inst-set.texi.gen.py $(srcdir) < $(top_srcdir)/dev/nolimips.xml
	@mv -f $@.tmp $@
$(FROM_INST_SET_TEXI_GEN_PY): inst-set.texi.stamp
Benoit Perrot's avatar
Benoit Perrot committed
18

19
MAINTAINERCLEANFILES = $(FROM_INST_SET_TEXI_GEN_PY)
Benoit Perrot's avatar
Benoit Perrot committed
20 21


Benoit Perrot's avatar
Benoit Perrot committed
22 23
info_TEXINFOS = nolimips.texi
nolimips_TEXINFOS =						\
Benoit Perrot's avatar
Benoit Perrot committed
24 25
	macros.texi						\
	fdl.texi						\
26
	$(FROM_INST_SET_TEXI_GEN_PY) inst-set.texi.stamp
27 28 29 30 31 32 33 34

# Installing the documentation for students.
install_doc_user = akim
install_doc_host = www.lrde.epita.fr
install_doc_dir  = www/ccmp/doc
.PHONY: install-doc-remote
install-doc-remote: nolimips.html
	scp $^ "$(install_doc_user)@$(install_doc_host):$(install_doc_dir)"