File: Makefile.am

package info (click to toggle)
gnote 0.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 11,340 kB
  • sloc: cpp: 23,090; sh: 11,154; ansic: 923; makefile: 493; xml: 164
file content (85 lines) | stat: -rw-r--r-- 2,446 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

SUBDIRS = icons

@INTLTOOL_DESKTOP_RULE@

desktop_in_files = gnote.desktop.in
desktop_files    = $(desktop_in_files:.desktop.in=.desktop)

desktopdir   = $(datadir)/applications
desktop_DATA = $(desktop_files)


#pkgconfigdir = $(libdir)/pkgconfig
#pkgconfig_in_files = tomboy-addins.pc.in
#pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc)


gsettings_SCHEMAS = org.gnome.gnote.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@


dbusservicedir       = $(DBUS_SERVICE_DIR)
dbusservice_in_files = org.gnome.Gnote.service.in
dbusservice_DATA     = $(dbusservice_in_files:.service.in=.service)

$(dbusservice_DATA): $(dbusservice_in_files) Makefile
	sed -e "s|\@bindir\@|$(bindir)|g"	\
	    -e "s|\@wrapper\@|gnote|g"		\
	    < $< > $@

if HAVE_PANELAPPLET
appletdir       = $(datadir)/gnome-panel/4.0/applets
applet_in_files = org.gnome.gnote.panel-applet.in
applet_in_in_files = $(applet_in_files).in
applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)

$(applet_in_files): $(applet_in_files).in Makefile
	$(AM_V_GEN)sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
	               -e "s|\@VERSION\@|$(PACKAGE_VERSION)|" \
	               $< > $@
 
@INTLTOOL_SERVER_RULE@
%.panel-applet: %.panel-applet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache

servicedir       = $(datadir)/dbus-1/services
service_in_files = org.gnome.panel.applet.GnoteAppletFactory.service.in
service_DATA     = $(service_in_files:.service.in=.service)

org.gnome.panel.applet.GnoteAppletFactory.service: $(service_in_files)
	$(AM_V_GEN)sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@
endif

@INTLTOOL_SERVER_RULE@


man_MANS = gnote.1

gnotedatadir = @datadir@/gnote
gnotedata_DATA = UIManagerLayout.xml \
	GNOME_GnoteApplet.xml

noinst_DATA = 			


EXTRA_DIST = 					\
	UIManagerLayout.xml                     \
	GNOME_GnoteApplet.xml                   \
	$(desktop_in_files)     		\
	$(pkgconfig_in_files)			\
	org.gnome.gnote.gschema.xml.in		\
	$(man_MANS)				\
	$(noinst_DATA)				\
	$(service_in_files)                     \
	$(applet_in_in_files)                   \
	$(dbusservice_in_files)

DISTCLEANFILES = 				\
	$(desktop_files)       			\
	$(pkgconfig_DATA)			\
	$(applet_DATA)                          \
	$(applet_DATA).in                       \
	$(service_DATA)                         \
	$(dbusservice_DATA)			\
	$(gsettings_SCHEMAS)