File: rules

package info (click to toggle)
node-websocket 1.0.35%2B~cs11.0.30-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,132 kB
  • sloc: cpp: 5,584; javascript: 3,787; ansic: 107; makefile: 15; sh: 7
file content (24 lines) | stat: -rwxr-xr-x 483 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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

js-compressor := $(or $(notdir $(shell which uglifyjs)),yui-compressor)

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# This has to be exported to make some magic below work.
export DH_OPTIONS

ifeq (armel, $(DEB_HOST_ARCH))
	CFLAGS += -O1
endif

export CFLAGS

%:
	dh $@

execute_after_dh_install:
	perl -i -pe 's/-ffile-prefix-map=\S+//' `find debian/node-*/ -name '*.o.d'`