aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/debian/rules
blob: b1b30ea820dcda15e942634b1ca105a678d95b17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk

TALER_WALLET_HOME = /usr/share/taler-wallet-cli

build: build-arch build-indep
build-arch:
	true
build-indep:
	true
override_dh_auto_install:
	dh_install bin/taler-wallet-cli.mjs $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/bin
	dh_install dist/taler-wallet-cli.mjs $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/dist
	dh_install dist/taler-wallet-cli.mjs.map $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/dist
	dh_link $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/bin/taler-wallet-cli.mjs /usr/bin/taler-wallet-cli

override_dh_builddeb:
	dh_builddeb -- -Zgzip

binary:
	dh $@
binary-arch:
	dh $@
binary-indep:
	dh $@

clean:
	true

# Override this step because it's very slow and likely
# unnecessary for us.
override_dh_strip_nondeterminism:
	true

get-orig-source:
	uscan --force-download --rename