File: rules

package info (click to toggle)
lua-luv 1.36.0-0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 868 kB
  • sloc: ansic: 5,683; makefile: 67; sh: 33
file content (16 lines) | stat: -rwxr-xr-x 514 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --buildsystem=lua --with lua

override_dh_auto_install:
# Do not install usr/include/lua{luaver}/luv.h, since all the headers get
# installed to usr/include/lua{luaver}/luv/
	sed -i '/usr\/include\/lua5\.[1-9]\/luv\.h/d' debian/lua-luv-dev.install
	dh_auto_install
# Remove usr/include/lua{luaver}/luv.h, so dh_missing doesn't complain
	rm -f debian/tmp/usr/include/lua*/luv.h