File: Makefile.am

package info (click to toggle)
network-manager-applet 0.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 9,500 kB
  • ctags: 2,818
  • sloc: ansic: 31,513; sh: 10,202; makefile: 415; xml: 9
file content (61 lines) | stat: -rw-r--r-- 1,506 bytes parent folder | download
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
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

SUBDIRS = src icons po

EXTRA_DIST =				\
	CONTRIBUTING			\
	intltool-extract.in		\
	intltool-merge.in		\
	intltool-update.in

dbusservicedir = $(DBUS_SYS_DIR)
dbusservice_DATA = nm-applet.conf

DBUS_126_CONF = nm-applet-dbus-126.conf
DBUS_PRE_126_CONF = nm-applet-pre-dbus-126.conf

nm-applet.conf:
if HAVE_DBUS_126
	cp -f $(top_srcdir)/$(DBUS_126_CONF) nm-applet.conf
else
	cp -f $(top_srcdir)/$(DBUS_PRE_126_CONF) nm-applet.conf
endif

autostartdir = $(sysconfdir)/xdg/autostart
autostart_in_files = nm-applet.desktop.in
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)

desktopdir = $(datadir)/applications
desktop_in_files = nm-connection-editor.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

schemasdir   = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = nm-applet.schemas.in
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
@INTLTOOL_SCHEMAS_RULE@


EXTRA_DIST += \
	$(schemas_in_files) \
	$(autostart_in_files) \
	$(desktop_in_files) \
	$(DBUS_126_CONF) \
	$(DBUS_PRE_126_CONF)

CLEANFILES = \
	$(autostart_DATA) \
	$(desktop_DATA) \
	$(schemas_DATA) \
	$(dbusservice_DATA)

DISTCLEANFILES = intltool-extract intltool-merge intltool-update

install-data-local:
if GCONF_SCHEMAS_INSTALL
	if test -z "$(DESTDIR)" ; then \
	for p in $(schemas_DATA) ; do \
	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/$$p >&1 > /dev/null; \
	done \
	fi
endif