debian/rules: Modernize file and explicitly use architecture.mk.
Boyuan Yang
5 years ago
0 | 0 | #!/usr/bin/make -f |
1 | # -*- makefile -*- | |
2 | # Uncomment this to turn on verbose mode. | |
3 | # export DH_VERBOSE=1 | |
1 | 4 | |
2 | #export DH_VERBOSE = 1 | |
5 | # see FEATURE AREAS in dpkg-buildflags(1) | |
3 | 6 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
7 | export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed | |
8 | ||
9 | include /usr/share/dpkg/architecture.mk | |
4 | 10 | |
5 | 11 | %: |
6 | dh $@ | |
12 | dh $@ | |
7 | 13 | |
8 | 14 | override_dh_makeshlibs: |
9 | 15 |