Mirror von
https://github.com/tkuschel/bees.git
synchronisiert 2026-05-08 04:59:37 +02:00
Makefile: Generalize the .version.cc target
This enables us to move the file around later. Signed-off-by: Kai Krakow <kai@kaishome.de>
Dieser Commit ist enthalten in:
+2
-2
@@ -29,8 +29,8 @@ depends.mk: *.cc
|
||||
mv -fv $@.new $@
|
||||
|
||||
.version.cc: Makefile ../makeflags *.cc ../include/crucible/*.h
|
||||
echo "namespace crucible { const char *VERSION = \"$(TAG)\"; }" > .version.new.cc
|
||||
mv -f .version.new.cc .version.cc
|
||||
echo "namespace crucible { const char *VERSION = \"$(TAG)\"; }" > $@.new
|
||||
mv -f $@.new $@
|
||||
|
||||
include depends.mk
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren