File: Makefile.am

package info (click to toggle)
barrage 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,548 kB
  • sloc: sh: 3,220; ansic: 2,605; makefile: 54
file content (25 lines) | stat: -rw-r--r-- 670 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
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.gif 

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


# 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/barrage48.gif+" \
	< barrage.desktop.in > barrage.desktop