gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: renaming Makefile target


From: gnunet
Subject: [libeufin] branch master updated: renaming Makefile target
Date: Tue, 14 Mar 2023 18:06:12 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 297a6344 renaming Makefile target
297a6344 is described below

commit 297a63447caa3f27a8a0d2e97f7d4f507670f8e7
Author: MS <ms@taler.net>
AuthorDate: Tue Mar 14 18:05:24 2023 +0100

    renaming Makefile target
---
 Makefile            |  6 +++---
 contrib/copy_spa.sh | 12 ++++++++++++
 contrib/get_spa.sh  | 21 ---------------------
 3 files changed, 15 insertions(+), 24 deletions(-)

diff --git a/Makefile b/Makefile
index f4bda77b..88af2753 100644
--- a/Makefile
+++ b/Makefile
@@ -27,12 +27,12 @@ exec-arch:
 clean-spa:
        @rm -fr debian/usr/share/libeufin/demobank-ui/index.* 
debian/usr/share/libeufin/demobank-ui/*.svg
 
-.PHONY: get-spa
+.PHONY: copy-spa
 get-spa:
-       @./contrib/get_spa.sh
+       @./contrib/copy_spa.sh
 
 .PHONY: deb
-deb: exec-arch get-spa
+deb: exec-arch copy-spa
        @dpkg-buildpackage -rfakeroot -b -uc -us
 
 
diff --git a/contrib/copy_spa.sh b/contrib/copy_spa.sh
new file mode 100755
index 00000000..f4edccfa
--- /dev/null
+++ b/contrib/copy_spa.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# This script is in the public domain.  It copies
+# SPA from where the bootstrap script places it to
+# the debian directory.
+
+if ! test -d .git; then
+  echo Run this script from the repository top-level directory.
+  exit 1
+fi
+
+cp contrib/wallet-core/demobank/* debian/usr/share/libeufin/demobank-ui/
diff --git a/contrib/get_spa.sh b/contrib/get_spa.sh
deleted file mode 100755
index b8aa9fbb..00000000
--- a/contrib/get_spa.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-# This script is in the public domain.  To be
-# invoked by "make dl-spa".
-
-if ! test -d .git; then
-  echo Make sure that CWD is the repository top-level dir.
-  exit 1
-fi
-
-if ls debian/usr/share/libeufin/demobank-ui/index.{html,css,js} &> /dev/null; 
then
-  echo SPA download already, run 'make clean-spa' to remove it.
-  exit 0
-fi
-
-if ! wget --version &> /dev/null; then
-  echo wget not found, aborting.
-  exit 1
-fi
-
-cp contrib/wallet-core/demobank/* debian/usr/share/libeufin/demobank-ui/

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]