1
0
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:
Kai Krakow
2018-01-16 00:13:37 +01:00
Ursprung fdf434e8eb
Commit 27b12821ee
+2 -2
Datei anzeigen
@@ -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