File: rules

package info (click to toggle)
duktape 2.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 21,160 kB
  • sloc: ansic: 215,359; python: 5,961; javascript: 4,555; makefile: 477; cpp: 205
file content (24 lines) | stat: -rwxr-xr-x 602 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
22
23
24
#!/usr/bin/make -f
#export DH_VERBOSE = 1


# does not seem to work here, so no debug stuff
export DEB_BUILD_MAINT_OPTIONS=noddebs
export LDFLAGS+=-lm -Wl,--no-as-needed

%:
	dh $@

override_dh_auto_build:
	mkdir -p tmp-build/lib tmp-build/include
	dh_auto_build --buildsystem=makefile -- -f Makefile.sharedlibrary install
	dh_auto_build --buildsystem=makefile -- -f Makefile.cmdline
	cat debian/duktape.pc.in|sed "s/#TRIPLE#/$(DEB_HOST_MULTIARCH)/g" > debian/duktape.pc
	dh_auto_build

override_dh_auto_clean:
	rm -rf tmp-build
	rm -f duk
	rm -f libduktaped.so.*
	rm -f libduktape.so.*
	dh_auto_clean