Makefile.am 954 Bytes
Newer Older
Bruno Coudoin's avatar
Bruno Coudoin committed
1 2 3 4
## Process this file with automake to produce Makefile.in.

doc = gcompris.html

5
EXTRA_DIST = overview.jpg \
Bruno Coudoin's avatar
Bruno Coudoin committed
6 7
	     overview.txt \
	     topic.dat \
8 9
	     overview.dia \
	     gcompris.texi
Bruno Coudoin's avatar
Bruno Coudoin committed
10

Bruno Coudoin's avatar
Bruno Coudoin committed
11
gcompris_helpdir = $(datadir)/gnome/help/$(PACKAGE)/fr
Bruno Coudoin's avatar
Bruno Coudoin committed
12 13 14

all: $(doc)

15 16
# FIXME: Is it possible to have I18N info files installed ?
#info_TEXINFOS = gcompris.texi
Bruno Coudoin's avatar
Bruno Coudoin committed
17

Bruno Coudoin's avatar
Bruno Coudoin committed
18 19 20 21 22 23
# No more install the documentation, it's not accurate enough
#install-data-local:
#	$(mkinstalldirs) $(DESTDIR)$(gcompris_helpdir)
#	$(INSTALL_DATA)  gcompris.html $(DESTDIR)$(gcompris_helpdir)
#	$(INSTALL_DATA)  $(srcdir)/overview.jpg $(DESTDIR)$(gcompris_helpdir)
#	$(INSTALL_DATA)  $(srcdir)/topic.dat $(DESTDIR)$(gcompris_helpdir)
Bruno Coudoin's avatar
Bruno Coudoin committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

%.html: %.texi
	texi2html -monolithic $<

%.eps: %.dia
	dia $< -e $@

%.ps: %.dvi
	dvips -o $@ $<

%.dvi: %.texi
	texi2dvi $<

%.pdf: %.ps
	ps2pdf $<

gcompris.pdf gcompris.dvi: overview.eps

clean-local:
	rm -f overview.eps gcompris.pdf gcompris.html gcompris.info