Skip to content
Snippets Groups Projects
Commit cda17a91 authored by chrfranke's avatar chrfranke
Browse files

Makefile.am: Modify generation of cvsversion.h for SVN.

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2833 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 6d5c4ed3
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ Maintainers / Developers Key (alphabetic order): ...@@ -26,6 +26,7 @@ Maintainers / Developers Key (alphabetic order):
[KM] Kai Mkisara [KM] Kai Mkisara
[EM] Eduard Martinescu [EM] Eduard Martinescu
[FM] Frdric L. W. Meunier [FM] Frdric L. W. Meunier
[GP] Gabriele Pohl
[AR] Adam Radford [AR] Adam Radford
[KS] Keiji Sawada [KS] Keiji Sawada
[MS] Manfred Schwarb [MS] Manfred Schwarb
...@@ -41,6 +42,10 @@ NOTES FOR FUTURE RELEASES: see TODO file. ...@@ -41,6 +42,10 @@ NOTES FOR FUTURE RELEASES: see TODO file.
<DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
[CF] Makefile.am: Modify generation of cvsversion.h for SVN.
[GP] Convert CVS repository to SVN.
[CF] smartd: Fix size of monitor flag array from previous commit. [CF] smartd: Fix size of monitor flag array from previous commit.
[CF] Makefile.am: Add missing 'megaraid.h'. [CF] Makefile.am: Add missing 'megaraid.h'.
......
...@@ -273,7 +273,7 @@ utility.o: cvsversion.h ...@@ -273,7 +273,7 @@ utility.o: cvsversion.h
cvsversion.h: $(CVSVERSION_DEPS) cvsversion.h: $(CVSVERSION_DEPS)
echo '/* cvsversion.h. Generated by Makefile. */' > $@ echo '/* cvsversion.h. Generated by Makefile. */' > $@
(cd $(srcdir) && cat Makefile.am configure.in smart*.in *.cpp *.h *.s) \ (cd $(srcdir) && cat Makefile.am configure.in smart*.in *.cpp *.h *.s) \
| sed -n 's,^.*\$$[I][d]: [^ ]* [^ ]* \(20[01][0-9]/[01][0-9]/[0-3][0-9] [0-9][0-9]:[0-9][0-9]\):[0-9][0-9] [^$$]*\$$.*$$,\1,p' \ | sed -n 's,^.*\$$[I][d]: [^ ]* [^ ]* \(20[01][0-9][-/][01][0-9][-/][0-3][0-9] [0-9][0-9]:[0-9][0-9]\):[0-9][0-9][^$$]*\$$.*$$,\1,p' \
| sort -r \ | sort -r \
| sed 's,/,-,g;s,^\(.*\)$$,#define SMARTMONTOOLS_CVS_DATE_TIME "\1",;1q' \ | sed 's,/,-,g;s,^\(.*\)$$,#define SMARTMONTOOLS_CVS_DATE_TIME "\1",;1q' \
>> $@ >> $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment