| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # DH_VERBOSE := 1 |
| 4 | export LC_ALL=C.UTF-8 |
| 5 | |
| 6 | include /usr/share/dpkg/default.mk |
| 7 | # this provides: |
| 8 | # DEB_SOURCE: the source package name |
| 9 | # DEB_VERSION: the full version of the package (epoch + upstream vers. + revision) |
| 10 | # DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision |
| 11 | # DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch |
| 12 | # DEB_VERSION_UPSTREAM: the package's upstream version |
| 13 | # DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog |
| 14 | # SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as |
| 15 | # specified by <https://reproducible-builds.org/specs/source-date-epoch/> |
| 16 | |
| 17 | # for hardening you might like to uncomment this: |
| 18 | # export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 19 | |
| 20 | %: |
| 21 | dh $@ |
| 22 | |
| 23 | ### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected |
| 24 | #override_dh_auto_test: |
| 25 | #ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 26 | # do_stuff_for_testing |
| 27 | #endif |
| 28 | |
| 29 | ### If you **really** can not use uscan (even not with mode=git) use a debian/get-orig-script |
| 30 | #get-orig-source: |
| 31 | # . debian/get-orig-source |