From ce47b57b0349b4c1ee128e9536d713c6994966bb Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Wed, 22 Jul 2020 19:18:32 +0200 Subject: [PATCH] Document version string fallback in Makefile For a packager just looking at the Makefile, it's not obvious that there is one... --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 57525949..7d1b79ee 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,7 @@ PNGCFLAGS := `${PKG_CONFIG} --cflags libpng` PNGLDFLAGS := `${PKG_CONFIG} --libs-only-L libpng` PNGLDLIBS := `${PKG_CONFIG} --libs-only-l libpng` +# Note: if this comes up empty, `version.c` will automatically fall back to last release number VERSION_STRING := `git describe --tags --dirty --always 2>/dev/null` WARNFLAGS := -Wall