File: rules

package info (click to toggle)
ttyplot 1.4%2B77.g1a1693b-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 144 kB
  • sloc: ansic: 311; makefile: 36
file content (20 lines) | stat: -rwxr-xr-x 418 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
#export DH_VERBOSE = 1

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

export PREFIX = $(DESTDIR)/usr
export MANPREFIX = $(PREFIX)/share/man

ifneq ($(filter pkg.ttyplot.static,$(DEB_BUILD_PROFILES)),)
CFLAGS += -static
export LDLIBS = -lncurses -ltinfo
endif

%:
	dh $@

override_dh_install:
	dh_install -A --autodest debian/tmp/*