summaryrefslogtreecommitdiff
path: root/gnome-about/Makefile.am
blob: cdd819f5a1e0aa72d079e0a6ac052879cfbf8db6 (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
SUBDIRS = headers

bin_SCRIPTS = gnome-about

gnome-about: gnome-about.in Makefile
	$(AM_V_GEN)sed							\
		-e s!\@PYTHON\@!@PYTHON@!				\
		-e s!\@GETTEXT_PACKAGE\@!@GETTEXT_PACKAGE@!		\
		-e s!\@LOCALEDIR\@!$(datadir)/locale!			\
		-e s!\@DATADIR\@!$(datadir)/gnome-about!		\
		-e s!\@ICONDIR\@!$(datadir)/pixmaps!			\
		-e s!\@PACKAGE_NAME\@!$(PACKAGE_NAME)!			\
		-e s!\@PACKAGE_VERSION\@!$(PACKAGE_VERSION)!		\
		< $< > $@ &&						\
	chmod a+x $@

desktopdir = $(datadir)/applications
desktop_in_files = gnome-about.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

@INTLTOOL_DESKTOP_RULE@

aboutdir = $(datadir)/gnome-about
about_DATA = gnome-64.png contributors.list foundation-members.list

check:
	test -s $(top_srcdir)/gnome-about/foundation-members.list

EXTRA_DIST = $(about_DATA) gnome-about.in

CLEANFILES = $(desktop_DATA) gnome-about

MAINTAINERCLEANFILES = \
	foundation-members.list

-include $(top_srcdir)/git.mk