File: rules

package info (click to toggle)
libglvnd 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,104 kB
  • sloc: xml: 53,629; ansic: 37,516; python: 620; makefile: 562; sh: 107; perl: 87; cpp: 30
file content (36 lines) | stat: -rwxr-xr-x 884 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/make -f
#
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

override_dh_auto_install:
	dh_auto_install
	find debian/tmp -name '*.la' -delete

override_dh_missing:
	dh_missing --fail-missing

override_dh_auto_test:
#	export DO_X11_TESTS=1
#	(cd build; xvfb-run -a  make check V=1)

override_dh_makeshlibs:
	dh_makeshlibs -a -- -c4

override_dh_bugfiles:
	dh_bugfiles -A

%:
	dh $@ --builddirectory=build/

# For maintainer use only, generate a tarball:
gentarball: SOURCE=libglvnd
gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 's/-.*$$//')
gentarball: ORIG = ../$(SOURCE)_$(UV).orig.tar.gz
gentarball:
	if [ -f $(ORIG) ]; then \
	  echo "$(ORIG) already exists, stopping"; exit 1; \
	fi
	git archive --format=tar upstream-unstable --prefix=$(SOURCE)-$(UV)/ \
	  | gzip -9 > $(ORIG)
	pristine-tar commit $(ORIG) upstream-unstable