File: rules

package info (click to toggle)
gperiodic 3.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,872 kB
  • sloc: ansic: 693; makefile: 97
file content (20 lines) | stat: -rwxr-xr-x 472 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 = gperiodic

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"

override_dh_auto_install:
	dh_auto_install -- bindir=/usr/bin datadir=/usr/share \
	                   enable_nls=1 \
	                   DESTDIR=$(CURDIR)/debian/$(PACKAGE)

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog