-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.am
35 lines (25 loc) · 841 Bytes
/
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
SUBDIRS = src marshallers initscript utils test introspection man policy po
EXTRA_DIST = \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
version.h \
README.dbus
dbusservicedir = $(DBUS_SYS_DIR)
dbusservice_DATA = org.mbm.MbmGps.conf
dbusactivationdir = $(datadir)/dbus-1/system-services
dbusactivation_in_files = org.mbm.MbmGps.service.in
dbusactivation_DATA = $(dbusactivation_in_files:.service.in=.service)
%service: %service.in
$(edit) $< >$@
edit = @sed \
-e 's|@sbindir[@]|$(sbindir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
-e 's|@localstatedir[@]|$(localstatedir)|g' \
-e 's|@libexecdir[@]|$(libexecdir)|g'
DISTCLEANFILES = \
$(dbusactivation_DATA)
EXTRA_DIST += \
$(dbusservice_DATA) \
$(dbusactivation_in_files)
DISTCLEANFILES = intltool-extract intltool-merge intltool-update