aboutsummaryrefslogtreecommitdiff
path: root/contrib/Makefile.am.in
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-04-24 20:17:29 +0200
committerChristian Grothoff <christian@grothoff.org>2023-04-24 20:17:29 +0200
commit9cbc189fa1c3416e541b0c3e1637908639aca8ae (patch)
tree1ac8f2952e572ac180483e2908bce642f49c67ff /contrib/Makefile.am.in
parentffcf44889d13d9a327cd47a2b1d44691cca21b9e (diff)
automatically re-generate Makefile.am to match SPA
Diffstat (limited to 'contrib/Makefile.am.in')
-rw-r--r--contrib/Makefile.am.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/Makefile.am.in b/contrib/Makefile.am.in
new file mode 100644
index 00000000..b2921bd4
--- /dev/null
+++ b/contrib/Makefile.am.in
@@ -0,0 +1,30 @@
+tmplpkgdatadir = $(prefix)/share/taler/merchant/templates/
+staticpkgdatadir = $(prefix)/share/taler/merchant/static/
+spapkgdatadir = $(prefix)/share/taler/merchant/spa/
+
+dist_tmplpkgdata_DATA = \
+ depleted_tip.en.must \
+ offer_refund.en.must \
+ offer_tip.en.must \
+ request_payment.en.must \
+ show_order_details.en.must
+
+%.must: wallet-core/backend/%.html
+ cp $< $@
+
+# Note: only works when building from Git, if you
+# run maintainer clean against the TGZ, you will
+# not be able to recover...
+MAINTAINERCLEANFILES = \
+ $(dist_tmplpkgdata_DATA)
+
+# Note: historic mechanism for static resource files, currently not used.
+#dist_staticpkgdata_DATA = \
+# foo.css
+
+
+# This is for the single-page-app imported from the wallet-core.git
+# prebuilt branch. This MUST be the last line in the
+# Makefile.am.in, as it will be combined with the
+# actual SPA data by 'bootstrap'!
+dist_spapkgdata_DATA = \