diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-24 10:24:21 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-24 10:24:21 +0200 |
commit | 79ecc5977c5ce29aa282c1d57578655f610a7722 (patch) | |
tree | e88ec26b1af62baca7d8cc579085273abb612c75 | |
parent | eaefc57f2ea5434ad6b7f1c11ee4daa0fc92c76c (diff) | |
download | web-common-79ecc5977c5ce29aa282c1d57578655f610a7722.tar.gz web-common-79ecc5977c5ce29aa282c1d57578655f610a7722.tar.bz2 web-common-79ecc5977c5ce29aa282c1d57578655f610a7722.zip |
modify build system to deal with removal of taler-wallet-lib (#5294, e6f994d7d2e5828f70042b2edb5c8005b0961a5e)
-rw-r--r-- | Makefile.am | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/Makefile.am b/Makefile.am index ea400be..2dde338 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,6 @@ EXTRA_DIST = \ pure.css \ demo.css \ - taler-wallet-lib.ts \ chrome-any.d.ts \ licensing.rst \ favicon-taler.ico \ @@ -12,11 +11,10 @@ EXTRA_DIST = \ # Some file may be missing here... pkgdata_DATA = \ - favicon-taler.ico \ - taler-wallet-lib.js + favicon-taler.ico -all: taler-wallet-lib.min.js taler-wallet-lib.js.tar.gz taler-wallet-lib.js -install: all +all: +install: %.min.js: %.js python3 -m jsmin $< > $@ @@ -24,20 +22,3 @@ install: all %.js.tar.gz: %.js tar czf $@ $< -taler-wallet-lib.js: taler-wallet-lib.ts chrome-any.d.ts -if HAVE_TSC - tsc -else - @echo - @if [ ! -f "$@" ] ; then \ - echo "*** Error: typescript compiler 'tsc' is missing," \ - "can't build" $@ ; \ - echo ; \ - exit 1 ; \ - else \ - echo "*** Warning: typescript compiler 'tsc' is missing," \ - "using pre-build" $@ ; \ - touch "$@"; \ - fi - @echo -endif |