aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 32d64eefc78c6557b97fb7a51d8f908b44a64936 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
changelogs =            \
    ChangeLog

confexecdir = $(libdir)
confexec_DATA =             \
    camelConf.sh            \
    evolution_shellConf.sh      \
    evolution_addressbookConf.sh    \
    evolution_calendarConf.sh

EXTRA_DIST =            \
    AUTHORS         \
    $(changelogs)       \
    COPYING-DOCS        \
    README          \
    HACKING         \
    MAINTAINERS     \
    NEWS            \
    NEWS-1.0        \
    xml-i18n-merge.in   \
    xml-i18n-update.in  \
    xml-i18n-extract.in \
    $(confexec_DATA:.sh=.sh.in)

SUBDIRS =           \
        data                    \
        e-util                  \
    libical         \
        widgets                 \
        shell                   \
    calendar        \
        art                     \
    ui          \
        default_user            \
    views           \
        tools

#   omf-install

%Conf.sh: %Conf.sh.in Makefile
    sed -e 's?\@EVOLUTION_LIBDIR\@?$(EVOLUTION_LIBDIR)?g' \
        -e 's?\@EVOLUTION_DATADIR\@?$(EVOLUTION_DATADIR)?g' \
        -e 's?\@EVOLUTION_INCLUDEDIR\@?$(EVOLUTION_INCLUDEDIR)?g' \
        -e 's?\@CAMEL_INCLUDEDIR\@?$(CAMEL_INCLUDEDIR)?g' \
        -e 's?\@VERSION\@?$(VERSION)?g' \
        -e 's?\@privlibdir\@?$(privlibdir)?g' \
        -e 's?\@SHELL_LIBS\@?$(SHELL_LIBS)?g' \
        -e 's?\@SHELL_CFLAGS\@?$(SHELL_CFLAGS)?g' \
        -e 's?\@CAMEL_LIBS\@?$(CAMEL_LIBS)?g' \
        -e 's?\@CAMEL_CFLAGS\@?$(CAMEL_CFLAGS)?g' \
        -e 's?\@LDAP_LIBS\@?$(LDAP_LIBS)?g' \
        -e 's?\@LDAP_CFLAGS\@?$(LDAP_CFLAGS)?g' \
        -e 's?\@EVOLUTION_ADDRESSBOOK_LIBS\@?$(EVOLUTION_ADDRESSBOOK_LIBS)?g' \
        -e 's?\@EVOLUTION_ADDRESSBOOK_CFLAGS\@?$(EVOLUTION_ADDRESSBOOK_CFLAGS)?g' \
        -e 's?\@EVOLUTION_CALENDAR_LIBS\@?$(EVOLUTION_CALENDAR_LIBS)?g' \
        -e 's?\@EVOLUTION_CALENDAR_CFLAGS\@?$(EVOLUTION_CALENDAR_CFLAGS)?g' \
          < $(srcdir)/$< > $@.tmp \
      && mv $@.tmp $@

# CDE Stuff

if HAVE_DTAPPINTEGRATE

# This installs Evolution into the Application Manager on CDE
dtappintegrate:
    ( cd data && make dtappintegrate )

# ...And this uninstalls it
dtappunintegrate:
    ( cd data ; make dtappunintegrate )

# Install/uninstall for CDE
cde-install: install dtappintegrate
cde-uninstall: dtappunintegrate uninstall

endif

ACLOCAL_AMFLAGS = -I m4