File: rules

package info (click to toggle)
xob 0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 864 kB
  • sloc: ansic: 972; makefile: 62
file content (17 lines) | stat: -rwxr-xr-x 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
CFLAGS+=$(CPPFLAGS)

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- sysconfdir=/etc
	pandoc doc/xob.md -f markdown -t man -s -o doc/xob.1

override_dh_auto_install:
	dh_auto_install -- sysconfdir=/etc prefix=/usr