gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet-scheme] 02/07: Define dependency information for protocols.go.


From: gnunet
Subject: [gnunet-scheme] 02/07: Define dependency information for protocols.go.
Date: Sun, 06 Feb 2022 10:53:25 +0100

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

maxime-devos pushed a commit to branch master
in repository gnunet-scheme.

commit c559967a36501cf154e528bd9b66d1fc405af99a
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat Feb 5 13:22:14 2022 +0000

    Define dependency information for protocols.go.
    
    * Makefile.am (nobase_dist_guilesite_DATA): Extract scmfrag files and
      protocols.scmgen to ...
      (scmfrags): ... this new variable, and ...
      (gnu/gnunet/message/protocols.go): ... add it to the dependencies.
---
 Makefile.am | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index a5078da..5dec4f4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -95,7 +95,7 @@ GOBJECTS = $(modules:%.scm=%.go)
 nobase_dist_guilesite_DATA = $(modules) gnu/gnunet/config/default.conf
 
 E = gnu/gnunet/message/enum-
-nobase_dist_guilesite_DATA += \
+scmfrags = \
   gnu/gnunet/message/protocols.scmgen \
   $(E)agpl.scmfrag \
   $(E)arm.scmfrag \
@@ -135,6 +135,11 @@ nobase_dist_guilesite_DATA += \
   $(E)vpn.scmfrag \
   $(E)wlan.scmfrag
 
+nobase_dist_guilesite_DATA += $(scmfrags)
+
+# Recompile protocols.go whenever one of the scmfrag files change.
+gnu/gnunet/message/protocols.go : $(scmfrags)
+
 # Scheme code compilation
 nobase_nodist_guilesiteccache_DATA = $(GOBJECTS)
 

-- 
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]