File: rules

package info (click to toggle)
pearpc 0.3.1%2B1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,004 kB
  • ctags: 10,086
  • sloc: cpp: 57,086; ansic: 8,780; sh: 5,930; asm: 1,939; lex: 321; makefile: 291; yacc: 195
file content (20 lines) | stat: -rwxr-xr-x 678 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

PACKAGE = pearpc
INSTALL = install -D
DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes

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

DEB_CONFIGURE_EXTRA_FLAGS := --enable-ui=sdl --program-suffix=.real

common-install-prehook-impl::
	$(INSTALL) -m 644 debian/pearpc.xpm debian/$(PACKAGE)/usr/share/pixmaps/pearpc.xpm
	$(INSTALL) -m 755 debian/ppc debian/$(PACKAGE)/usr/bin/ppc
	$(INSTALL) -m 644 debian/ppc.conf debian/$(PACKAGE)/etc/ppc.conf

common-binary-predeb-arch::
	ln -s ppc.real.1.gz debian/$(PACKAGE)/usr/share/man/man1/ppc.1.gz