File: rules

package info (click to toggle)
pconsole 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 636 kB
  • sloc: ansic: 920; sh: 305; makefile: 64
file content (24 lines) | stat: -rwxr-xr-x 565 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
	if [ ! -e Makefile.orig ]; then mv -v Makefile Makefile.orig; fi
	dh_auto_configure

override_dh_auto_clean:
	-$(MAKE) mrproper
	if [ -e Makefile.orig ]; then mv -v Makefile.orig Makefile; fi
	debconf-updatepo

override_dh_auto_install:
	dh_auto_install -- prefix=$(CURDIR)/debian/tmp/usr