diff options
-rwxr-xr-x | packages/taler-harness/debian/rules | 27 | ||||
-rwxr-xr-x | packages/taler-wallet-cli/debian/rules | 27 |
2 files changed, 12 insertions, 42 deletions
diff --git a/packages/taler-harness/debian/rules b/packages/taler-harness/debian/rules index 4190ad3a4..e2ad4a751 100755 --- a/packages/taler-harness/debian/rules +++ b/packages/taler-harness/debian/rules @@ -1,32 +1,17 @@ #!/usr/bin/make -f + include /usr/share/dpkg/default.mk -TALER_HARNESS_HOME = /usr/share/taler-harness +%: + dh ${@} -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 - 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 - dh_link $(TALER_HARNESS_HOME)/node_modules/taler-harness/bin/taler-harness.mjs /usr/bin/taler-harness +# Override because our configure doesn't like extra arguments. +override_dh_auto_configure: + ./configure --prefix=/usr 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: diff --git a/packages/taler-wallet-cli/debian/rules b/packages/taler-wallet-cli/debian/rules index 5fd6f74f9..e2ad4a751 100755 --- a/packages/taler-wallet-cli/debian/rules +++ b/packages/taler-wallet-cli/debian/rules @@ -1,32 +1,17 @@ #!/usr/bin/make -f + include /usr/share/dpkg/default.mk -TALER_WALLET_HOME = /usr/share/taler-wallet-cli +%: + dh ${@} -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-bundled.cjs $(TALER_WALLET_HOME)/node_modules/taler-wallet-cli/dist - dh_install dist/taler-wallet-cli-bundled.cjs.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 because our configure doesn't like extra arguments. +override_dh_auto_configure: + ./configure --prefix=/usr 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: |