aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/doc/C/Makefile.am
blob: be6533d71539b1a01189141b09ed97887fc7ae49 (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
gnomecal_helpdir = $(datadir)/gnome/help/gnomecal/C

gnomecal_help_DATA =    \
    gnomecal.html   \
    topic.dat

SGML_FILES =            \
    gnomecal.sgml

EXTRA_DIST = \
    topic.dat       \
    $(SGML_FILES)

all: 

gnomecal.html: gnomecal/gnomecal.html
    -cp gnomecal/gnomecal.html .

gnomecal/gnomecal.html: $(SGML_FILES)
    -db2html gnomecal.sgml

dist-hook:
    mkdir $(distdir)/gnomecal
    -cp gnomecal/*.html gnomecal/*.css $(distdir)/gnomecal
    -cp gnomecal.html $(distdir)
    mkdir $(distdir)/images
    -cp images/*.gif images/*.jpg $(distdir)/images

install-data-local: gnomecal.html
    $(mkinstalldirs) $(gnomecal_helpdir)/images
    -for file in $(srcdir)/gnomecal/*.html $(srcdir)/gnomecal/*.css; do \
    basefile=`basename $$file`; \
    $(INSTALL_DATA) $(srcdir)/$$file $(gnomecal_helpdir)/$$basefile; \
    done
    -for file in $(srcdir)/images/*.jpg $(srcdir)/images/*.gif; do \
    $(INSTALL_DATA) $(srcdir)/$$file $(gnomecal_helpdir)/images;\
    done

gnomecal.ps: gnomecal.sgml
    -db2ps $<

gnomecal.rtf: gnomecal.sgml 
    -db2rtf $<