rule: remove boilerplate, add get-orig-source
Riku Voipio
8 years ago
0 | 0 | #!/usr/bin/make -f |
1 | # See debhelper(7) (uncomment to enable) | |
2 | # output every command that modifies files on the build system. | |
3 | #DH_VERBOSE = 1 | |
4 | ||
5 | # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* | |
6 | 1 | DPKG_EXPORT_BUILDFLAGS = 1 |
7 | 2 | include /usr/share/dpkg/default.mk |
8 | 3 | |
9 | # see FEATURE AREAS in dpkg-buildflags(1) | |
10 | #export DEB_BUILD_MAINT_OPTIONS = hardening=+all | |
11 | ||
12 | # see ENVIRONMENT in dpkg-buildflags(1) | |
13 | # package maintainers to append CFLAGS | |
14 | #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic | |
15 | # package maintainers to append LDFLAGS | |
16 | #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed | |
17 | ||
18 | ||
19 | # main packaging script based on dh7 syntax | |
20 | 4 | %: |
21 | 5 | dh $@ --parallel --buildsystem=cmake --with python2 |
22 | ||
23 | 6 | |
24 | 7 | override_dh_auto_configure: |
25 | 8 | dh_auto_configure -- \ |
26 | 9 | -DCATKIN_ENABLE_TESTING=OFF |
10 | ||
11 | get-orig-source: | |
12 | uscan --verbose --force-download --repack --compress xz |