File: rules

package info (click to toggle)
toppler 1.3-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,868 kB
  • sloc: cpp: 8,979; ansic: 2,349; makefile: 402; sh: 24
file content (21 lines) | stat: -rwxr-xr-x 606 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
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_clean:
	rm -rf _build locale toppler

override_dh_auto_build:
	dh_auto_build -- toppler DATADIR=/usr/share/games LOCALEDIR=/usr/share/locale

override_dh_auto_install:
	$(MAKE) install BINDIR=/usr/games  LOCALEDIR=/usr/share/locale MANDIR=/usr/share/man \
                        DATADIR=/usr/share/games DESTDIR=debian/toppler
	for i in src/po/*.po; do test -f $$i~ && mv $$i~ $$i; done