File: rules

package info (click to toggle)
xcb-util-image 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,884 kB
  • sloc: sh: 11,374; ansic: 1,968; makefile: 54
file content (16 lines) | stat: -rwxr-xr-x 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

ORIG_MAJOR=$(shell git describe upstream | cut -d- -f1)
ORIG_GIT=$(shell git describe upstream | cut -d- -f2)

%:
	dh $@ --builddirectory=build/

override_dh_install:
	find debian/tmp -name '*.la' -delete
	dh_install

get-orig-source:
	git archive upstream | gzip -9 > ../xcb-util-image_$(ORIG_MAJOR)+git$(ORIG_GIT).orig.tar.gz

.PHONY: get-orig-source