aboutsummaryrefslogtreecommitdiffstats
path: root/help/C/Makefile.am
blob: 88b71fcb0b4aecd3df8b20d890572f3bee7bb42a (plain) (blame)
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
50
51
52
53
54
55
56
57
evolution_helpdir = $(datadir)/gnome/help/evolution/C

SGML_FILES =            \
    apx-authors.sgml    \
    apx-bugs.sgml       \
    apx-gloss.sgml      \
    config-prefs.sgml   \
    config-setupassist.sgml \
    config-sync.sgml    \
    preface.sgml        \
    usage-calendar.sgml \
    usage-contact.sgml  \
    usage-mail.sgml     \
    usage-mainwindow.sgml   \
    usage-sync.sgml


EXTRA_DIST = \
    $(SGML_FILES)

all: evolution-guide

evolution-guide: $(SGML_FILES)
    -db2html evolution-guide.sgml

dist-hook:
    mkdir $(distdir)/evolution-guide
    -cp evolution-guide/*.html evolution-guide/*.css $(distdir)/evolution-guide
    mkdir $(distdir)/fig
    -cp fig/*.png $(distdir)/fig
    mkdir $(distdir)/evolution-guide/stylesheet-images
    -cp evolution-guide/stylesheet-images/* $(distdir)/evolution-guide/stylesheet-images

install-data-local: evolution-guide
    $(top_srcdir)/mkinstalldirs $(DESTDIR)$(evolution_helpdir)
    -for file in $(srcdir)/evolution-guide/*.html $(srcdir)/evolution-guide/*.css; do \
        basefile=`basename $$file`; \
        $(INSTALL_DATA) $$file $(DESTDIR)$(evolution_helpdir)/$$basefile; \
    done

    $(top_srcdir)/mkinstalldirs $(DESTDIR)$(evolution_helpdir)/fig
    -for file in $(srcdir)/fig/*.png; do \
        basefile=`basename $$file`; \
        $(INSTALL_DATA) $$file $(DESTDIR)$(evolution_helpdir)/fig/$$basefile; \
    done

    $(top_srcdir)/mkinstalldirs $(DESTDIR)$(evolution_helpdir)/stylesheet-images
    -for file in $(srcdir)/evolution-guide/stylesheet-images/*; do \
        basefile=`basename $$file`; \
        $(INSTALL_DATA) $$file $(DESTDIR)$(evolution_helpdir)/stylesheet-images/$$basefile; \
    done

evolution.ps: evolution.sgml
    -db2ps $<

evolution.rtf: evolution.sgml   
    -db2rtf $<