File: rules

package info (click to toggle)
xfe 0.72-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,940 kB
  • ctags: 2,805
  • sloc: cpp: 13,675; sh: 12,918; ansic: 6,546; makefile: 541; yacc: 316; sed: 16
file content (21 lines) | stat: -rwxr-xr-x 691 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
#!/usr/bin/make -f
# example debian/rules for cdbs packages

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/dpatch.mk

PACKAGE := xfe
BASE := $(CURDIR)/debian/$(PACKAGE)

binary-post-install/xfe::
#	rename to prevent clash with xvstream
	mv $(BASE)/usr/bin/xfv $(BASE)/usr/bin/xfileview
	mv $(BASE)/usr/bin/xfq $(BASE)/usr/bin/xfilequery
	mv $(BASE)/usr/share/man/man1/xfv.1 $(BASE)/usr/share/man/man1/xfileview.1
	mv $(BASE)/usr/share/man/man1/xfq.1 $(BASE)/usr/share/man/man1/xfilequery.1

# workaround for a dpatch bug calling "debian/rules unpatch"
# instead of "dpatch deapply-all"
unpatch:
	dpatch deapply-all