Logo
Explore Help
Sign In
1berry/haproxy
1
0
Fork 0
You've already forked haproxy
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
haproxy/SUBVERS

3 lines
14 B
Plaintext
Raw Permalink Normal View History

BUILD: use format tags in VERDATE and SUBVERS files The first line now contains a git format tag asking git-archive to place the last commit's commit date and the last commit's abbreviated ID respectively. The makefile will use these information in preference when they're available and git is not available. Now it's only necessary to add the two following lines in .git/info/attributes to have the files automatically filled by git-archive : SUBVERS export-subst VERDATE export-subst
2013-12-10 11:19:04 +01:00
-$Format:%h$
[BUILD] centralize version and date into one file for each The version does not appear anymore in the Makefiles nor in the include files. It was a nightmare to maintain. Now there is a VERSION file which contains the major version, a VERDATE file which contains the date for this version and a SUBVERS file which may contain a sub-version. A "make version" target has been added to all makefiles to check the version. The GNU Makefile also has an update-version target to update those files. This should never be used. It is still possible to override those values by specifying them in the equivalent make variables. By default, the GNU makefile tries to detect a GIT repository and always uses the version and date from the current repository. This can be disabled by setting IGNOREGIT to a non-void value.
2007-09-09 23:31:11 +02:00
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 356ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API