debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | ORIG_MAJOR=$(shell git describe upstream | cut -d- -f1) |
| 4 | ORIG_GIT=$(shell git describe upstream | cut -d- -f2) |
| 5 | |
| 6 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 7 | |
| 8 | %: |
| 9 | dh $@ |
| 10 | |
| 11 | get-orig-source: |
| 12 | git archive upstream | gzip -9 > ../xcb-util-renderutil_$(ORIG_MAJOR)+git$(ORIG_GIT).orig.tar.gz |
| 13 | |
| 14 | .PHONY: get-orig-source |