aboutsummaryrefslogblamecommitdiffstats
path: root/omf-install/Makefile.am
blob: ee542a8598496b6a298792a0b4eaefd71238be27 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                             
omf_dest_dir=$(datadir)/omf/evolution
scrollkeeper_localstate_dir = $(localstatedir)/scrollkeeper

install-data-local:
    $(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
    -for file in $(srcdir)/*.omf; do            \
        $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(omf_dest_dir); \
    done
    -scrollkeeper-update -p $(scrollkeeper_localstate_dir) 

uninstall-local:
    -for file in $(srcdir)/*.omf; do            \
        basefile=`basename $$file`;             \
        rm -f $(omf_dest_dir)/$$basefile;       \
        done
    -rmdir $(omf_dest_dir)
    -scrollkeeper-update -p $(scrollkeeper_localstate_dir)