File: rules

package info (click to toggle)
xautolock 1%3A2.2-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 472 kB
  • sloc: ansic: 1,418; cpp: 75; sh: 16; makefile: 11
file content (21 lines) | stat: -rwxr-xr-x 511 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
#!/usr/bin/make -f
# 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

DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_build:
	xmkmf
	$(MAKE) EXTRA_LDOPTIONS="$(LDFLAGS)" CCOPTIONS="$(CFLAGS) $(CPPFLAGS)"

override_dh_auto_install:
	dh_auto_install
	cp xautolock.man $(CURDIR)/debian/xautolock/usr/share/man/man1/xautolock.1