File: rules

package info (click to toggle)
eglexternalplatform 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 112 kB
  • sloc: ansic: 278; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 555 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=meson

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp
	mkdir -p debian/tmp/usr/share/pkgconfig
	mv debian/tmp/usr/lib/*/pkgconfig/* debian/tmp/usr/share/pkgconfig
	rm -r debian/tmp/usr/lib/*/pkgconfig

# For maintainer use only, generate a tarball:
gentarball: SOURCE=eglexternalplatform
gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 's/-.*$$//')
gentarball:
	git archive --format=tar upstream --prefix=$(SOURCE)-$(UV)/ | gzip -9 > ../$(SOURCE)_$(UV).orig.tar.gz