2023-02-25 12:25:13 +01:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
include /usr/share/dpkg/default.mk
|
|
|
|
|
|
|
|
TALER_HARNESS_HOME = /usr/share/taler-harness
|
|
|
|
|
|
|
|
build: build-arch build-indep
|
|
|
|
build-arch:
|
|
|
|
true
|
|
|
|
build-indep:
|
|
|
|
true
|
|
|
|
override_dh_auto_install:
|
|
|
|
dh_install bin/taler-harness.mjs $(TALER_HARNESS_HOME)/node_modules/taler-harness/bin
|
2023-02-25 12:35:24 +01:00
|
|
|
dh_install dist/taler-harness-bundled.cjs $(TALER_HARNESS_HOME)/node_modules/taler-harness/dist
|
|
|
|
dh_install dist/taler-harness-bundled.cjs.map $(TALER_HARNESS_HOME)/node_modules/taler-harness/dist
|
2023-02-25 12:25:13 +01:00
|
|
|
dh_link $(TALER_HARNESS_HOME)/node_modules/taler-harness/bin/taler-wallet-cli.mjs /usr/bin/taler-harness
|
|
|
|
|
|
|
|
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
|