debian/: Migrate d/rules to dh sequencer
Boyuan Yang
4 years ago
|
0 |
gman (0.9.3-5.3) unstable; urgency=medium
|
|
1 |
|
|
2 |
* Non-maintainer upload.
|
|
3 |
* Merge changes from Ubuntu.
|
|
4 |
+ Fix FTBFS caused by link ordering. (Closes: #925698)
|
|
5 |
* debian/control:
|
|
6 |
+ Bump debhelper compat to v12.
|
|
7 |
+ Bump Standards-Version to 4.4.1.
|
|
8 |
* debian/rules:
|
|
9 |
+ Migrate to dh sequencer.
|
|
10 |
|
|
11 |
-- Boyuan Yang <byang@debian.org> Wed, 11 Dec 2019 17:05:14 -0500
|
|
12 |
|
0 | 13 |
gman (0.9.3-5.2ubuntu2) bionic; urgency=high
|
1 | 14 |
|
2 | 15 |
* No change rebuild to pick up -fPIE compiler default
|
0 | 0 |
#!/usr/bin/make -f
|
1 | |
# Derived from debhelper's sample rules file.
|
|
1 |
# -*- makefile -*-
|
|
2 |
# Uncomment this to turn on verbose mode.
|
|
3 |
# export DH_VERBOSE=1
|
2 | 4 |
|
3 | |
#export DH_VERBOSE=1
|
|
5 |
# see FEATURE AREAS in dpkg-buildflags(1)
|
|
6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
4 | 7 |
|
5 | |
ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" ""
|
6 | |
DEBUG := -g
|
7 | |
endif
|
|
8 |
# see ENVIRONMENT in dpkg-buildflags(1)
|
|
9 |
# package maintainers to append CFLAGS
|
|
10 |
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
|
11 |
# package maintainers to append LDFLAGS
|
|
12 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
8 | 13 |
|
9 | |
build-arch: build
|
|
14 |
DPKG_EXPORT_BUILDFLAGS = 1
|
|
15 |
DPKG_EXPORT_BUILDTOOLS = 1
|
|
16 |
include /usr/share/dpkg/default.mk
|
|
17 |
include /usr/share/dpkg/buildflags.mk
|
|
18 |
-include /usr/share/dpkg/buildtools.mk
|
10 | 19 |
|
11 | |
build-indep: build
|
|
20 |
%:
|
|
21 |
dh $@
|
12 | 22 |
|
13 | |
build: gman
|
14 | |
gman:
|
15 | |
dh_testdir
|
16 | |
$(MAKE) DEBUG="$(DEBUG)"
|
17 | |
|
18 | |
clean:
|
19 | |
dh_testdir
|
20 | |
dh_testroot
|
21 | |
$(MAKE) clean
|
22 | |
dh_clean
|
23 | |
|
24 | |
install: build
|
25 | |
dh_testdir
|
26 | |
dh_testroot
|
27 | |
dh_prep
|
28 | |
$(MAKE) install prefix=$(CURDIR)/debian/gman/usr
|
29 | |
|
30 | |
binary-indep:
|
31 | |
# There are no architecture-independent files here.
|
32 | |
|
33 | |
binary-arch: build install
|
34 | |
dh_testdir
|
35 | |
dh_testroot
|
36 | |
dh_installdocs README AUTHORS
|
37 | |
dh_installmenu
|
38 | |
dh_installchangelogs ChangeLog
|
39 | |
ifeq "$(findstring nostrip,$(DEB_BUILD_OPTIONS))" ""
|
40 | |
dh_strip
|
41 | |
endif
|
42 | |
dh_compress
|
43 | |
dh_fixperms
|
44 | |
dh_installdeb
|
45 | |
dh_shlibdeps
|
46 | |
dh_gencontrol
|
47 | |
dh_md5sums
|
48 | |
dh_builddeb
|
49 | |
|
50 | |
binary: binary-indep binary-arch
|
51 | |
.PHONY: build clean binary-indep binary-arch binary install build-arch build-indep
|
|
23 |
override_dh_missing:
|
|
24 |
dh_missing --fail-missing
|