Replace svn keywords with LM_SENSORS_VER constant

The keywords Revision, Date and Id were being expanded by Subversion
way back when the project was being maintained in Subversion. Now when
the project is maintained in git, the keywords are no longer expanded
and appear e.g. in the output of sensors-detect literally.

Drop the keywords, or replace them with LM_SENSORS_VER where
applicable.

The value of the constant will have to be updated manually every time
a new release is made.

Inspired by a similar change in i2c-tools (commit daa430031ffd;
thanks, Jean).
This commit is contained in:
Ondřej Lysoněk committed 2019-10-17 15:29:58 +02:00
1 parent c28d20d19d
commit 5c900c7e85
4 files changed
+6 -11

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ Release steps:
- Update doc/developers/lm_sensors.lsm (Version, Entered-date and Primary-site)
- Update doc/libsensors-API.txt and SENSORS_API_VERSION in lib/sensors.h
- Update version.h
- grep for LM_SENSORS_VER and update values of the constant
- Commit
- Tag the release using git:
git tag V3-x-x