2021-07-14 15:29:42 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
include /usr/share/dpkg/default.mk
|
|
|
|
|
|
|
|
TALER_WALLET_HOME = /usr/share/taler-wallet-cli
|
|
|
|
|
2021-08-02 16:29:39 +02:00
|
|
|
cli_dir=packages/taler-wallet-cli
|
2021-08-02 10:03:13 +02:00
|
|
|
|
2021-07-14 15:29:42 +02:00
|
|
|
|
|
|
|
build: build-arch build-indep
|
|
|
|
build-arch:
|
|
|
|
true
|
|
|
|
build-indep:
|
|
|
|
true
|
|
|
|
override_dh_auto_install:
|
2021-08-02 10:03:13 +02:00
|
|
|
dh_install $(cli_dir)/bin/taler-wallet-cli $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/bin
|
|
|
|
dh_install $(cli_dir)/dist/taler-wallet-cli.js $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/dist
|
|
|
|
dh_install $(cli_dir)/dist/taler-wallet-cli.js.map $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/dist
|
2021-07-14 15:29:42 +02:00
|
|
|
dh_link $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/bin/taler-wallet-cli /usr/bin/taler-wallet-cli
|
|
|
|
|
2022-06-28 21:32:23 +02:00
|
|
|
override_dh_builddeb:
|
|
|
|
dh_builddeb -- -Zgzip
|
|
|
|
|
2021-07-14 15:29:42 +02:00
|
|
|
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
|