aboutsummaryrefslogblamecommitdiffstats
path: root/help/C/Makefile.am
blob: 90b0e0ea2fddeb3d07531f41b57b5faee2904d42 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                     
                                 

                                 



                                 







                                 
                         




                              
                                         

          

                                                                 

                                    

                                                                                
 
                                   
                                                                  
                                                                               


                                                                                   

                                                                      




                                                                                       
                                                                                    
                                                                  



                                                                                                     




                                
evolution_helpdir = $(datadir)/gnome/help/evolution/C

SGML_FILES =            \
    evolution.sgml      \
    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 $(srcdir)/evolution.sgml

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

install-data-local: evolution-guide
    $(top_srcdir)/mkinstalldirs $(DESTDIR)$(evolution_helpdir)
    -for file in $(srcdir)/evolution/*.html $(srcdir)/evolution/*.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/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 $<