aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.developer
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-04-21 00:39:22 +0100
committerJoão Valverde <j@v6e.pt>2016-04-21 18:59:24 +0000
commiteeded812f727e6b49e5b1049640a4a29a02d0d46 (patch)
treef8f7a118a40dd4a04c48798e5da6d1b1d50784f0 /doc/README.developer
parent91cae7cf412043d5c76d4bab6fbcf69a04a553dd (diff)
Add option to disable version.h
If the file '.git/wireshark-disable-versioning' exists then version.h will be commented out. Change-Id: If481b673463408a69c2ecf7c2e66d08c5855537f Reviewed-on: https://code.wireshark.org/review/14932 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'doc/README.developer')
-rw-r--r--doc/README.developer10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/README.developer b/doc/README.developer
index 4d85df71a8..45868e5208 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -708,6 +708,16 @@ to avoid warnings at all.
The compiler flags in the Makefiles are set to "treat warnings as errors",
so your code won't even compile when warnings occur.
+7. Miscellaneous notes
+
+Each commit in your branch corresponds to a different VCSVERSION string
+automatically defined in the header 'version.h' during the build. If you happen
+to find it convenient to disable this feature it can be done using:
+
+ touch .git/wireshark-disable-versioning
+
+i.e., the file 'wireshark-disable-versioning' must exist in the git repo dir.
+
/*
* Editor modelines - https://www.wireshark.org/tools/modelines.html
*