Skip to content

Commit

Permalink
Remove wayward tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed Aug 14, 2024
1 parent d173607 commit 2ce314b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -882,12 +882,12 @@ ifeq ($(shell if [ -d .git ]; then echo present; else echo absent; fi),present)
# If it is the same, do nothing and don't rebuild dependent targets.
$(info Check Git)
$(shell echo "#define VG_GIT_VERSION \"$(shell git describe --always --tags 2>/dev/null || echo git-error)\"" > $(SRC_DIR)/vg_git_version.hpp.tmp)
$(shell diff $(SRC_DIR)/vg_git_version.hpp.tmp $(SRC_DIR)/vg_git_version.hpp >/dev/null 2>/dev/null || cp $(SRC_DIR)/vg_git_version.hpp.tmp $(SRC_DIR)/vg_git_version.hpp)
$(shell rm -f $(SRC_DIR)/vg_git_version.hpp.tmp)
$(shell diff $(SRC_DIR)/vg_git_version.hpp.tmp $(SRC_DIR)/vg_git_version.hpp >/dev/null 2>/dev/null || cp $(SRC_DIR)/vg_git_version.hpp.tmp $(SRC_DIR)/vg_git_version.hpp)
$(shell rm -f $(SRC_DIR)/vg_git_version.hpp.tmp)
else
# Just use the version file we have, if any.
$(info Do not check Git)
$(shell if [ ! -e $(SRC_DIR)/vg_git_version.hpp] ; then echo "#define VG_GIT_VERSION \"$(VG_GIT_VERSION)\"" > $(SRC_DIR)/vg_git_version.hpp ; fi)
$(shell if [ ! -e $(SRC_DIR)/vg_git_version.hpp] ; then echo "#define VG_GIT_VERSION \"$(VG_GIT_VERSION)\"" > $(SRC_DIR)/vg_git_version.hpp ; fi)
endif


Expand Down

0 comments on commit 2ce314b

Please sign in to comment.