File: rules

package info (click to toggle)
duktape 2.5.0-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 21,156 kB
  • sloc: ansic: 212,327; python: 5,968; javascript: 4,577; makefile: 476; cpp: 205
file content (23 lines) | stat: -rwxr-xr-x 563 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
#!/usr/bin/make -f
#export DH_VERBOSE = 1


# does not seem to work here, so no debug stuff
export DEB_BUILD_MAINT_OPTIONS=noddebs

%:
	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