[Git][NTPsec/ntpsec][master] ntpd/version.h should be generated as a header file, not C code.

Matt Selsky gitlab at mg.gitlab.com
Sat Dec 31 04:51:24 UTC 2016


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
b6b2dd0e by Matt Selsky at 2016-12-30T23:49:24-05:00
ntpd/version.h should be generated as a header file, not C code.

- - - - -


1 changed file:

- ntpd/wscript


Changes:

=====================================
ntpd/wscript
=====================================
--- a/ntpd/wscript
+++ b/ntpd/wscript
@@ -22,7 +22,7 @@ def build(ctx):
 
 		ctx(
 		    cwd         = srcnode,
-		    rule        = 'VCS_EXTRA=`cat ${SRC[0]}` wafhelpers/autorevision.sh -o ${TGT[1].abspath()} -e VERSION -t c >${TGT[0].abspath()}',
+		    rule        = 'VCS_EXTRA=`cat ${SRC[0]}` wafhelpers/autorevision.sh -o ${TGT[1].abspath()} -e VERSION -t h >${TGT[0].abspath()}',
 		    source      = ["../VERSION", '../wafhelpers/autorevision.sh'] ,
 		    target      = [target3, target4],
 		)



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/b6b2dd0e52dd5542f2a61f53b64651e19753d74a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20161231/38f2415b/attachment.html>


More information about the vc mailing list