From: Andre Noll Date: Thu, 23 May 2024 15:10:29 +0000 (+0200) Subject: s/URL/PROJECT_WEBSITE. X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=996b0d3b71e620f91d8a829876b9a4be9e04c2ae;p=misma.git s/URL/PROJECT_WEBSITE. Because the term URL appears in index.html.m4 and misma.suite.m4, where it should *not* be expanded. Currently, we work around this by quoting the term. This is easy to miss, so... --- diff --git a/Makefile b/Makefile index 76d4685..404453e 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ SLOGAN := the minimal snapshot manager AUTHOR := Andre Noll EMAIL := maan@tuebingen.mpg.de COPYRIGHT_YEAR := 2024 -URL := https://people.tuebingen.mpg.de/maan/$(PACKAGE)/ +PROJECT_WEBSITE := https://people.tuebingen.mpg.de/maan/$(PACKAGE)/ CLONE_URL := https://git.tuebingen.mpg.de/$(PACKAGE) GITWEB_URL := https://git.tuebingen.mpg.de/$(PACKAGE).git HOME_URL := https://people.tuebingen.mpg.de/maan/ @@ -55,7 +55,7 @@ XCPPFLAGS += -DCOPYRIGHT_YEAR='"$(COPYRIGHT_YEAR)"' XCPPFLAGS += -DPACKAGE='"$(PACKAGE)"' XCPPFLAGS += -DAUTHOR='"$(AUTHOR)"' XCPPFLAGS += -DEMAIL='"$(EMAIL)"' -XCPPFLAGS += -DURL='"$(URL)"' +XCPPFLAGS += -DPROJECT_WEBSITE='"$(PROJECT_WEBSITE)"' XCPPFLAGS += -DCLONE_URL='"$(CLONE_URL)"' XCPPFLAGS += -DGITWEB_URL='"$(GITWEB_URL)"' XCPPFLAGS += -DHOME_URL='"$(HOME_URL)"' @@ -150,7 +150,7 @@ define M4_CMD = -D "PACKAGE=$(PACKAGE)" \ -D "SLOGAN=$(SLOGAN)" \ -D "EMAIL=$(EMAIL)" \ - -D "URL=$(URL)" \ + -D "PROJECT_WEBSITE=$(PROJECT_WEBSITE)" \ -D "CLONE_URL=$(CLONE_URL)" \ -D "GITWEB_URL=$(GITWEB_URL)" \ -D "HOME_URL=$(HOME_URL)" \ @@ -224,7 +224,7 @@ $(DESCRIPTION3) Resources ~~~~~~~~~ -| web page: $(URL) +| web page: $(PROJECT_WEBSITE) | git clone URL: $(CLONE_URL) | gitweb: $(GITWEB_URL) | author's home page: $(HOME_URL) diff --git a/index.html.m4 b/index.html.m4 index 47e8c79..daf5a03 100644 --- a/index.html.m4 +++ b/index.html.m4 @@ -102,7 +102,7 @@ ifelse(MODE(), `svg', `SVG() m4exit') to snapshot them with PACKAGE().

Resources