File: rules

package info (click to toggle)
mujs 1.1.0-1%2Bdeb11u3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 848 kB
  • sloc: ansic: 15,311; makefile: 127
file content (21 lines) | stat: -rwxr-xr-x 455 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export DEB_VERSION_UPSTREAM
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DESTDIR = debian/tmp
export build = debug
export prefix = /usr
export libdir = $(prefix)/lib/${DEB_HOST_MULTIARCH}

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- XCFLAGS="-Wl,-soname,libmujs.so.1" shared
	dh_auto_build

override_dh_auto_install:
	$(MAKE) install-shared
	dh_auto_install --destdir=$(DESTDIR)