File: rules

package info (click to toggle)
pconsole 1.0-12
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 676 kB
  • ctags: 90
  • sloc: ansic: 870; sh: 300; makefile: 63
file content (22 lines) | stat: -rwxr-xr-x 539 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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 $@ --with autotools-dev

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