ref: ce47b57b0349b4c1ee128e9536d713c6994966bb
parent: f3c916ab96bcc23638cfb9464fe47e8fd87ba102
author: ISSOtm <[email protected]>
date: Wed Jul 22 15:18:32 EDT 2020
Document version string fallback in Makefile For a packager just looking at the Makefile, it's not obvious that there is one...
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,7 @@
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