File: rules

package info (click to toggle)
xfe 1.04-2.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 9,160 kB
  • ctags: 5,674
  • sloc: cpp: 28,786; ansic: 10,606; sh: 9,676; makefile: 655; yacc: 289; sed: 16
file content (31 lines) | stat: -rwxr-xr-x 1,220 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
26
27
28
29
30
31
#!/usr/bin/make -f

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

BASE := $(CURDIR)/debian/xfe

binary-post-install/xfe::
# rename to prevent clash with xvstream
	mv $(BASE)/usr/bin/xfv $(BASE)/usr/bin/xfileview
	mv $(BASE)/usr/bin/xfp $(BASE)/usr/bin/xfilepackage
	mv $(BASE)/usr/bin/xfi $(BASE)/usr/bin/xfileimage
	mv $(BASE)/usr/bin/xfw $(BASE)/usr/bin/xfilewriter
	mv $(BASE)/usr/share/man/man1/xfv.1 $(BASE)/usr/share/man/man1/xfileview.1
	mv $(BASE)/usr/share/man/man1/xfp.1 $(BASE)/usr/share/man/man1/xfilepackage.1
	mv $(BASE)/usr/share/man/man1/xfi.1 $(BASE)/usr/share/man/man1/xfileimage.1
	mv $(BASE)/usr/share/man/man1/xfw.1 $(BASE)/usr/share/man/man1/xfilewriter.1
#	mv $(BASE)/usr/lib/foxrc/Desktop $(BASE)/usr/share/xfe/config/Xfe
# install program icons
	install -m 0644 debian/*.xpm $(BASE)/usr/share/pixmaps
	mv $(BASE)/usr/share/xfe/xferc $(BASE)/etc/xfe/xferc
	dh_link etc/xfe/xferc usr/share/xfe/xferc
	# keep  compatibility with xfilequery
	dh_link usr/bin/xfilepackage usr/bin/xfilequery
	dh_link usr/share/man/man1/xfilepackage.1.gz usr/share/man/man1/xfilequery.1.gz

unpatch: 

clean::
	rm -f intl/Makefile