File: Makefile.am

package info (click to toggle)
gnome-osd 0.11.3-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 896 kB
  • ctags: 259
  • sloc: sh: 2,085; python: 2,046; xml: 146; makefile: 120
file content (101 lines) | stat: -rw-r--r-- 2,979 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
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
## Process this file with automake to produce Makefile.in

SUBDIRS = po gnomeosd man

CLEANFILES=

# .server rules
GNOME_OSD.server: GNOME_OSD.server.in
	sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
CLEANFILES += GNOME_OSD.server

server_dot_in = GNOME_OSD.server.in
serverdir     = $(libdir)/bonobo/servers
server_DATA   = GNOME_OSD.server

nodist_component_SCRIPTS = gnome-osd-server
componentdir = $(libexecdir)

nodist_bin_SCRIPTS = gnome-osd-properties gnome-osd-client gnome-osd-event-bridge

EXTRA_DIST = $(server_dot_in) $(component_SCRIPTS) $(bin_SCRIPTS)
CLEANFILES += core *.pyc *.pyo
EXTRA_DIST += intltool-extract.in intltool-merge.in intltool-update.in
DISTCLEANFILES = intltool-extract intltool-merge intltool-update

# gconf schemas
@INTLTOOL_SCHEMAS_RULE@

schemadir   = @GCONF_SCHEMA_FILE_DIR@
schema_in_files = gnome-osd.schemas.in
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
EXTRA_DIST += $(schema_in_files)
CLEANFILES += $(schema_DATA)

if GCONF_SCHEMAS_INSTALL
install-data-local: install-schemaDATA
	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL)\
		--makefile-install-rule $(schema_DATA)
else
install-data-local:
endif


# capplet 
@INTLTOOL_DESKTOP_RULE@

desktopdir = $(datadir)/control-center-2.0/capplets
desktop_in_files = gnome-osd-properties.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
EXTRA_DIST += $(desktop_in_files)
CLEANFILES += $(desktop_DATA)

# icon
pixmapdir = $(datadir)/pixmaps
pixmap_DATA = gnome-osd.png
EXTRA_DIST += $(pixmap_DATA)


gnome-osd-server: gnome-osd-server.in
	sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@
	chmod a+x $@
gnome-osd-server: Makefile

gnome-osd-client: gnome-osd-client.in
	sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@
	chmod a+x $@
gnome-osd-client: Makefile

gnome-osd-properties: gnome-osd-properties.in
	sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@
	chmod a+x $@
gnome-osd-properties: Makefile

gnome-osd-event-bridge: gnome-osd-event-bridge.in
	sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@
	chmod a+x $@
gnome-osd-event-bridge: Makefile

EXTRA_DIST += gnome-osd-server.in gnome-osd-client.in gnome-osd-properties.in gnome-osd-event-bridge.in
CLEANFILES += gnome-osd-server gnome-osd-client gnome-osd-properties gnome-osd-event-bridge

example_plugins = xchatosd.py
pkgdata_DATA = xchatosd.py
EXTRA_DIST += $(example_plugins)


%.service: %.service.in
	sed						\
		-e s!\@libexecdir\@!@libexecdir@!	\
		-e s!\@bindir\@!@bindir@!		\
		< $< > $@
%.service: %.service.in Makefile

dbus_servicedir = $(datadir)/dbus-1/services
dbus_service_DATA = pt.inescporto.telecom.GnomeOSD.service pt.inescporto.telecom.GnomeOSD.EventBridge.service
EXTRA_DIST += pt.inescporto.telecom.GnomeOSD.service.in pt.inescporto.telecom.GnomeOSD.EventBridge.service.in
CLEANFILES += pt.inescporto.telecom.GnomeOSD.service pt.inescporto.telecom.GnomeOSD.EventBridge.service

autostartdir = $(sysconfdir)/xdg/autostart
autostart_DATA = gnome-osd-event-bridge.desktop
EXTRA_DIST += $(autostart_DATA)