forked from brownsys/pane-ekiga
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
107 lines (86 loc) · 3.58 KB
/
Makefile.am
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
SUBDIRS = man sounds pixmaps lib src plugins po
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
### Don't execute make in the help subdirectory if BULD_DOC is set
if HAVE_GNOME_DOC_UTILS
SUBDIRS += help
endif
### Intltool on the desktop, schemas and appdata files
@INTLTOOL_DESKTOP_RULE@
@INTLTOOL_SCHEMAS_RULE@
DESKTOP_IN_FILE=org.gnome.@[email protected]
DESKTOP_FILE=org.gnome.@[email protected]
gsettings_SCHEMAS = org.gnome.@[email protected]
@INTLTOOL_XML_NOMERGE_RULE@
convertdir = $(datadir)/GConf/gsettings
convert_DATA = @[email protected]
@GSETTINGS_RULES@
appdatadir = $(datadir)/appdata
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
appdata_in_files = ekiga.appdata.xml.in
@INTLTOOL_XML_RULE@
### Win32 files
WIN32_DIST = \
win32/ico/ekiga.ico \
win32/ico/ekiga-uninstall.ico \
win32/directx/Amvideo.h \
win32/directx/control.h \
win32/directx/ddraw.h \
win32/directx/dshow.h \
win32/directx/dsound.h \
win32/directx/dxerr9.h \
win32/directx/ksuuids.h \
win32/directx/mingw_dshow_port.h \
win32/directx/strmif.h \
win32/directx/uuids.h \
win32/diff/README \
win32/diff/ekiga_sticonmenu1.patch \
win32/diff/ekiga_sticonmenu2.patch \
win32/ekiga-rc.rc \
win32/Makefile \
win32/nsisinstaller/ekiga.nsi \
win32/nsisinstaller/language_files/hungarian.nsh \
win32/nsisinstaller/language_files/english.nsh \
win32/nsisinstaller/language_files/dutch.nsh \
win32/nsisinstaller/language_files/french.nsh \
win32/nsisinstaller/language_files/german.nsh \
win32/nsisinstaller/language_files/polish.nsh \
win32/nsisinstaller/language_files/romanian.nsh \
win32/nsisinstaller/language_files/russian.nsh \
win32/nsisinstaller/langmacros.nsh
### Extra dist
EXTRA_DIST = \
$(appdata_in_files) \
$(DESKTOP_FILE) \
doc/using_dbus.html \
gnome-doc-utils.make \
README \
LICENSE \
$(gsettings_SCHEMAS) \
$(SCHEMAS_FILE) \
$(WIN32_DIST)
Applicationsdir = $(datadir)/applications
Applications_DATA = $(DESKTOP_FILE)
BUILT_SOURCES = revision.h
GIT_REVISION=\"$$(git describe)\"
CACHED_REVISION=$$(cat revision.h 2>/dev/null | cut -c24-)
revision.h:
@if test -d ".git" -a -n "$$(which git)"; then \
if test "x$(GIT_REVISION)" != "x$(CACHED_REVISION)"; then \
echo "#define EKIGA_REVISION $(GIT_REVISION)" > revision.h; \
fi \
else \
if !(test -e "./revision.h"); then\
echo "#define EKIGA_REVISION \"unknown\"" > revision.h; \
fi \
fi
dbusservicedir = $(datadir)/dbus-1/services
dbusservice_DATA = org.gnome.ekiga.service
org.gnome.ekiga.service: Makefile
$(AM_V_GEN) (echo '[D-BUS Service]'; echo 'Name=org.gnome.ekiga'; echo 'Exec=${bindir}/ekiga --gapplication-service') > [email protected] && mv [email protected] $@
### Dist Clear
DISTCLEANFILES=gnome-doc-utils.make org.gnome.ekiga.desktop org.gnome.ekiga.gschema revision.h $(appdata_DATA)
MAINTAINERCLEANFILES= \
Makefile.in aclocal.m4 compile config.guess config.sub \
depcomp install-sh ltmain.sh missing config.h.in configure \
m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 \
m4/lt~obsolete.m4 m4/gnome-doc-utils.m4