summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: eab9b93746cba31b2a2b0f15236a4d06a17c6462 (plain)
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
desktopdir 	 = $(datadir)/applications
desktop_in_files = pluma.desktop.in
desktop_DATA 	 = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

@INTLTOOL_XML_NOMERGE_RULE@
gsettings_SCHEMAS = org.mate.pluma.gschema.xml
@GSETTINGS_RULES@

%.gschema.xml.in: %.gschema.xml.in.in Makefile
	$(AM_V_GEN) $(SED) \
		-e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' \
		-e 's^\@ACTIVE_PLUGINS\@^$(ACTIVE_PLUGINS)^g' \
		-e 's^\@TOOLBAR_STYLE\@^$(TOOLBAR_STYLE)^g' \
		< $< > $@

man_MANS = pluma.1

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = pluma.pc

bugreportdir = $(libexecdir)/pluma
bugreport_SCRIPTS = pluma-bugreport.sh

EXTRA_DIST = 				\
	$(desktop_in_files)		\
	$(gsettings_SCHEMAS_in_in)	\
	$(man_MANS)			\
	pluma.pc.in			\
	pluma-bugreport.sh.in

CLEANFILES =	 			\
	$(desktop_DATA)			\
	$(gsettings_SCHEMAS_in)	\
	$(gsettings_SCHEMAS)	\
	$(pkgconfig_DATA)




-include $(top_srcdir)/git.mk