File: rules

package info (click to toggle)
gkrellm-i8k 2.5-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 116 kB
  • ctags: 223
  • sloc: ansic: 1,250; makefile: 57
file content (13 lines) | stat: -rwxr-xr-x 469 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
# CDBS rules file

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk

DEB_MAKE_INSTALL_TARGET := site_install SINSTALLDIR2=$(DEB_DESTDIR)/usr/lib/gkrellm2/plugins

# Upstream renamed the plugin file in version 2.5,
# rename back to avoid breaking users' setups.
binary-post-install/gkrellm-i8k::
	mv $(DEB_DESTDIR)/usr/lib/gkrellm2/plugins/i8krellm.so \
	   $(DEB_DESTDIR)/usr/lib/gkrellm2/plugins/i8krellm2.so