Debian Codegraph @

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 %:
7 dh $@ --builddirectory=build/
8
9 override_dh_install:
10 find debian/tmp -name '*.la' -delete
11 dh_install
12
13 get-orig-source:
14 git archive upstream | gzip -9 > ../xcb-util-image_$(ORIG_MAJOR)+git$(ORIG_GIT).orig.tar.gz
15
16 .PHONY: get-orig-source