File: Makefile.am

package info (click to toggle)
ltris 1.0.14-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,144 kB
  • ctags: 2,078
  • sloc: ansic: 15,176; sh: 4,224; asm: 1,332; makefile: 533; yacc: 288; sed: 16; perl: 5
file content (21 lines) | stat: -rw-r--r-- 667 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
SUBDIRS = intl m4 po src icons

EXTRA_DIST = config.rpath  AUTHORS COPYING ChangeLog INSTALL \
README TODO touchall ABOUT-NLS po/tr_full.po po/pt_full.po \
po/nonascii.pl ltris32.gif ltris48.gif ltris.desktop.in

desktopdir = $(datadir)/applications
desktop_DATA = ltris.desktop
icondir = $(datadir)/icons
icon_DATA = ltris48.gif

AUTOMAKE_OPTIONS = foreign

# We can't use static desktop file because of icon location. Is this 
# the right way to handle it? At least it works... as long as $datadir
# does not contain plus signs. :-)
ltris.desktop:
	@sed -e "s+Icon=+Icon=$(datadir)/icons/ltris48.gif+" \
	< ltris.desktop.in > ltris.desktop

ACLOCAL_AMFLAGS = -I m4