aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/Makefile.am
blob: bba013da7cdb9a98ac2551a26f74c815161cb407 (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
79
80
81
82
83
84
SUBDIRS = doc

help_base = $(datadir)/gnome/help/cal

CFLAGS += -Wall

INCLUDES =          \
    -I$(includedir)                 \
    $(GNOME_INCLUDEDIR)             \
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"

bin_PROGRAMS = gnomecal

gnomecal_SOURCES = \
    alarm.c         \
    alarm.h         \
    calendar.c      \
    calendar.h      \
    calobj.c        \
    calobj.h        \
    eventedit.c     \
    eventedit.h     \
    getdate.y       \
    gncal-day-panel.c   \
    gncal-day-panel.h   \
    gncal-day-view.c    \
    gncal-day-view.h    \
    gncal-full-day.c    \
    gncal-full-day.h    \
    gncal-week-view.c   \
    gncal-week-view.h   \
    gncal-todo.c        \
    gncal-todo.h        \
    gnome-month-item.c  \
    gnome-month-item.h  \
    gnome-cal.c     \
    gnome-cal.h     \
    html-month.c        \
    goto.c          \
    layout.c        \
    layout.h        \
    main.c          \
    main.h          \
    mark.c          \
    mark.h          \
    month-view.c        \
    month-view.h        \
    popup-menu.c        \
    popup-menu.h        \
    prop.c          \
    quick-view.c        \
    quick-view.h        \
    timeutil.c      \
    timeutil.h      \
    view-utils.h        \
    view-utils.c        \
    year-view.c     \
    year-view.h

LINK_FLAGS = \
    $(GNOME_LIBDIR) \
    $(GNOMEGNORBA_LIBS) \
    $(INTLLIBS) ../libversit/libversit.a


#gncal_LDADD = $(LINK_FLAGS)

gnomecal_LDADD = $(LINK_FLAGS)

EXTRA_DIST = \
    gncal.desktop   \
    bell.xpm    \
    recur.xpm


Productivitydir = $(datadir)/gnome/apps/Applications

Productivity_DATA = gncal.desktop

install-data-local:
    $(mkinstalldirs) $(DESTDIR)$(help_base)/C
    $(INSTALL_DATA)  $(srcdir)/topic.dat $(DESTDIR)$(help_base)/C/topic.dat
    $(INSTALL_DATA)  $(srcdir)/gnome-cal.html $(DESTDIR)$(help_base)/C/gnome-cal.html
    cd $(DESTDIR)$(help_base)/C; rm -f index.html ; $(LN_S) gnome-cal.html index.html