shithub: libmujs

Download patch

ref: 4d3165baf5b6de775d55ad82a1ae754d6e6e86d3
parent: ebf235bfea04da1d12c77c84f9398c1c0d5aa0a8
author: Ismael Luceno <ismael@iodev.co.uk>
date: Fri Mar 18 13:58:32 EDT 2022

Bug 705905: Compute VERSION using Make.

--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@
 ifeq "$(wildcard .git)" ".git"
   VERSION := $(shell git describe --tags --always)
 else
-  VERSION := $(shell basename $$PWD | sed -e s,^mujs-,,)
+  VERSION := $(patsubst mujs-%,%,$(notdir $(CURDIR)))
 endif
 
 ifeq ($(shell uname),Darwin)