Pau Espin Pedrol | 814882b | 2019-03-19 18:10:55 +0100 | [diff] [blame] | 1 | #!/usr/bin/make -f |
| 2 | # You must remove unused comment lines for the released package. |
| 3 | # See debhelper(7) (uncomment to enable) |
| 4 | # This is an autogenerated template for debian/rules. |
| 5 | # |
| 6 | # Output every command that modifies files on the build system. |
| 7 | #export DH_VERBOSE = 1 |
| 8 | # |
| 9 | # Copy some variable definitions from pkg-info.mk and vendor.mk |
| 10 | # under /usr/share/dpkg/ to here if they are useful. |
| 11 | # |
| 12 | # See FEATURE AREAS/ENVIRONMENT in dpkg-buildflags(1) |
| 13 | # Apply all hardening options |
| 14 | #export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 15 | # Package maintainers to append CFLAGS |
| 16 | #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 17 | # Package maintainers to append LDFLAGS |
| 18 | #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 19 | # |
| 20 | # With debhelper version 9 or newer, the dh command exports |
| 21 | # all buildflags. So there is no need to include the |
| 22 | # /usr/share/dpkg/buildflags.mk file here if compat is 9 or newer. |
| 23 | # |
| 24 | # These are rarely used code. (START) |
| 25 | # |
| 26 | # The following include for *.mk magically sets miscellaneous |
| 27 | # variables while honoring existing values of pertinent |
| 28 | # environment variables: |
| 29 | # |
| 30 | # Architecture-related variables such as DEB_TARGET_MULTIARCH: |
| 31 | #include /usr/share/dpkg/architecture.mk |
| 32 | # Vendor-related variables such as DEB_VENDOR: |
| 33 | #include /usr/share/dpkg/vendor.mk |
| 34 | # Package-related variables such as DEB_DISTRIBUTION |
| 35 | #include /usr/share/dpkg/pkg-info.mk |
| 36 | # |
| 37 | # You may alternatively set them susing a simple script such as: |
| 38 | # DEB_VENDOR ?= $(shell dpkg-vendor --query Vendor) |
| 39 | # |
| 40 | # These are rarely used code. (END) |
| 41 | # |
| 42 | |
| 43 | # main packaging script based on dh7 syntax |
| 44 | %: |
| 45 | dh $@ --with autoreconf |
| 46 | |
| 47 | # See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg |
| 48 | override_dh_strip: |
| 49 | dh_strip --dbg-package=osmo-sysmon-dbg |