summaryrefslogtreecommitdiff
path: root/plugins/thunar-sendto-email/Makefile.am
blob: a9fdf4469507efaf65b40c89f15dfecb6d119907 (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
42
43
AM_CPPFLAGS =								\
	-I$(top_builddir)						\
	-I$(top_builddir)/plugins					\
	-I$(top_srcdir)							\
	-I$(top_srcdir)/plugins						\
	-DG_LOG_DOMAIN=\"thunar-sendto-email\"				\
	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"				\
	$(PLATFORM_CPPFLAGS)

thunar_sendto_emaildir =						\
	$(HELPER_PATH_PREFIX)/Thunar

thunar_sendto_email_PROGRAMS =						\
	thunar-sendto-email

thunar_sendto_email_SOURCES =						\
	main.c

thunar_sendto_email_CFLAGS =						\
	$(EXO_CFLAGS)							\
	$(PLATFORM_CFLAGS)

thunar_sendto_email_LDADD =						\
	$(EXO_LIBS)							\
	$(PLATFORM_LDFLAGS)

desktopdir = $(datadir)/Thunar/sendto
desktop_in_in_files = thunar-sendto-email.desktop.in.in
desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
%.desktop.in: %.desktop.in.in
	sed -e "s,\@HELPERDIR\@,$(HELPER_PATH_PREFIX),g" < $< > $@
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

EXTRA_DIST =								\
	$(desktop_in_in_files)						\
	README

DISTCLEANFILES =							\
	$(desktop_in_files)						\
	$(desktop_DATA)

# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: