File: rules

package info (click to toggle)
uisp 20050207-4.5
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 920 kB
  • sloc: cpp: 4,606; sh: 872; ansic: 429; makefile: 101
file content (22 lines) | stat: -rwxr-xr-x 631 bytes parent folder | download
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 -*-
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
# package maintainers to append LDFLAGS
export DEB_LDFLAGS_MAINT_APPEND =
# package maintainers to append CXXFLAGS
export DEB_CXXFLAGS_MAINT_APPEND = -Wno-narrowing -Wno-error

%:
	dh $@

# Remove duplicated docs in wrong dir
execute_after_dh_auto_install:
	rm -r $(CURDIR)/debian/uisp/usr/share/doc/uisp-*