summaryrefslogtreecommitdiff
path: root/docs/Makefile.am
blob: 61c8cc2f04773384962b840d60f8567b9a7f3788 (plain)
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
tools_dir = $(top_srcdir)/tools

# htmldir is not defined by autoconf < 2.59c
htmldir = $(if $(filter-out @%@,@htmldir@),@htmldir@,$(datadir)/doc/$(PACKAGE))

man_MANS = telepathy-gabble.8
html_DATA = \
    olpc.html \
    muc-bytestream.html \
    tubes.html

EXTRA_DIST = \
    $(man_MANS:.8=.8.in) \
    $(html_DATA:.html=.xml)

CLEANFILES = \
    $(man_MANS) \
    $(html_DATA)

%.8: %.8.in Makefile
	sed -e 's,[@]libexecdir[@],@libexecdir@,' < $< > $@

$(html_DATA): %.html: %.xml $(tools_dir)/xep.xsl
	$(XSLTPROC) $(tools_dir)/xep.xsl $< > $@

proto-xep-upload: $(html_DATA)
	rsync -P $(html_DATA) people.collabora.co.uk:public_html/
.PHONY: proto-xep-upload