File: rules

package info (click to toggle)
eglexternalplatform 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 104 kB
  • sloc: ansic: 281; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 700 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

DST = debian/eglexternalplatform-dev/

%:
	dh $@

override_dh_install:
	mkdir -p $(DST)/usr/include $(DST)/usr/share/pkgconfig
	install -p -m 0644 interface/eglexternalplatform.h $(DST)/usr/include
	install -p -m 0644 interface/eglexternalplatformversion.h $(DST)/usr/include
	install -p -m 0644 eglexternalplatform.pc $(DST)/usr/share/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