Skip to content

Commit

Permalink
Renamed verifyjson to json-verify as per narc's suggestion.
Browse files Browse the repository at this point in the history
  • Loading branch information
CIB committed Mar 25, 2014
1 parent 8db0598 commit 58bbbae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,14 @@ $(TARGET): $(ODIR) $(DDIR) $(OBJS)
$(LD) $(W32FLAGS) -o $(TARGET) $(DEFINES) $(CXXFLAGS) \
$(OBJS) $(LDFLAGS)

.PHONY: version verifyjson
.PHONY: version json-verify
version:
@( VERSION_STRING=$(VERSION) ; \
[ -e ".git" ] && GITVERSION=$$( git describe --tags --always --dirty --match "[0-9A-Z]*.[0-9A-Z]*" ) && VERSION_STRING=$$GITVERSION ; \
[ -e "$(SRC_DIR)/version.h" ] && OLDVERSION=$$(grep VERSION $(SRC_DIR)/version.h|cut -d '"' -f2) ; \
if [ "x$$VERSION_STRING" != "x$$OLDVERSION" ]; then echo "#define VERSION \"$$VERSION_STRING\"" | tee $(SRC_DIR)/version.h ; fi \
)
verifyjson:
json-verify:
$(LUA_BINARY) lua/json_verifier.lua

$(ODIR):
Expand Down

0 comments on commit 58bbbae

Please sign in to comment.