Re: [PATCH] configure: combine Git SHA with WMaker version
"Carlos R. Mafra" <[email protected]>
| Newsgroups | gmane.compw.window-managers.windowmaker.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 26 Jul 2015 at 22:42:49 +0200, Paolo Pisati wrote: > Signed-off-by: Paolo Pisati <[email protected]> > --- > configure.ac | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure.ac b/configure.ac > index 589c7c9..e54abbb 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -34,7 +34,7 @@ AC_PREREQ([2.69]) > > dnl Configuration for Autoconf and Automake > dnl ======================================= > -AC_INIT([WindowMaker],[0.95.6],[[email protected]],[WindowMaker],[http://www.windowmaker.org/]) > +AC_INIT([WindowMaker],0.95.6-m4_esyscmd([git log --pretty=format:'%h' -n 1 | tr -d '\n']),[[email protected]],[WindowMaker],[http://www.windowmaker.org/]) > AC_CONFIG_MACRO_DIR([m4]) > AC_CONFIG_HEADERS([config.h]) What happens if you don't have git installed? -- To unsubscribe, send mail to [email protected].