File: Makefile.am

package info (click to toggle)
alacarte 0.11.5-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,260 kB
  • ctags: 144
  • sloc: python: 1,405; sh: 821; makefile: 63
file content (50 lines) | stat: -rw-r--r-- 1,270 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
## Process this file with automake to produce Makefile.in

SUBDIRS = po Alacarte

CLEANFILES=

bin_SCRIPTS = alacarte
CLEANFILES += alacarte

EXTRA_DIST = intltool-extract.in intltool-merge.in intltool-update.in
DISTCLEANFILES = intltool-extract intltool-merge intltool-update

install-data-local:

@INTLTOOL_DESKTOP_RULE@

desktopdir = $(datadir)/applications
desktop_in_files = alacarte.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
EXTRA_DIST += $(desktop_in_files)
CLEANFILES += $(desktop_DATA)

alacarte: alacarte.in
	sed -e s!\@PYTHON\@!@PYTHON@!		\
	    -e s!\@PYOPTIONS\@!-OOt!		\
	    < $< > $@
alacarte: Makefile

EXTRA_DIST += alacarte.in

pkgdata_DATA = alacarte.glade logo.svg
EXTRA_DIST += $(pkgdata_DATA)

icondir = $(datadir)/icons/hicolor/22x22/apps
icon_DATA = alacarte.png
EXTRA_DIST += $(icon_DATA)
svgicondir = $(datadir)/icons/hicolor/scalable/apps
svgicon_DATA = alacarte.svg
EXTRA_DIST += $(svgicon_DATA)

gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor

install-data-hook:
	@-if test -z "$(DESTDIR)"; then \
		echo "Updating Gtk icon cache."; \
		$(gtk_update_icon_cache); \
	else \
		echo "*** Icon cache not updated. After install, run this:"; \
		echo "***   $(gtk_update_icon_cache)"; \
	fi