File: Makefile.am

package info (click to toggle)
barrage 1.0.7-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,636 kB
  • sloc: sh: 4,054; ansic: 2,780; makefile: 56
file content (24 lines) | stat: -rw-r--r-- 708 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SUBDIRS = src

AUTOMAKE_OPTIONS = foreign
 
RPMBUILD = rpmbuild
rpm: dist
	$(RPMBUILD) -ta $(distdir).tar.gz

desktopdir = $(datadir)/applications
desktop_DATA = barrage.desktop
icondir = $(datadir)/icons
icon_DATA = barrage48.png

EXTRA_DIST = BUGS README COPYING AUTHORS ChangeLog INSTALL NEWS TODO \
	$(PACKAGE).spec $(PACKAGE).spec.in barrage.desktop.in barrage48.png

# 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. :-)
barrage.desktop:
	@sed -e "s+Icon=+Icon=$(datadir)/icons/hicolor/48x48/apps/barrage48.png+" \
	< barrage.desktop.in > barrage.desktop

ACLOCAL_AMFLAGS = -I m4