File: rules

package info (click to toggle)
grdesktop 0.23-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 340 kB
  • ctags: 4
  • sloc: makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 689 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

DEB_TAR_SRCDIR := grdesktop-0.23
DEB_BUILDDIR = $(DEB_SRCDIR)

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/tarball.mk
include /usr/share/cdbs/1/class/gnome.mk

DEB_CONFIGURE_USER_FLAGS := --with-keymap-path=/usr/share/rdesktop/keymaps/
DEB_INSTALL_CHANGELOGS_ALL := build-tree/$(DEB_TAR_SRCDIR)/ChangeLog

install/grdesktop::
	cd debian/grdesktop/usr/share/pixmaps && ln -s grdesktop/icon.png grdesktop.png
	#
	# Args. This is really a quick hack, which needs to be fixed upstream!
	for i in `find debian/grdesktop/usr/share/locale -name "@GETTEXT_PACKAGE@.mo" -print`; do \
		dir=`dirname $$i`; \
		mv $$i $$dir/grdesktop.mo; \
	done