Browse Source

only remove src/version.hpp if git repo and git available

pull/350/head
Antonio SJ Musumeci 8 years ago
parent
commit
b1459c6cdc
  1. 6
      Makefile

6
Makefile

@ -132,8 +132,12 @@ obj/%.o: src/%.cpp
$(CXX) $(CFLAGS) -c $< -o $@
clean: rpm-clean
$(RM) -rf obj
ifneq ($(GIT),)
ifeq ($(shell test -e .git; echo $$?),0)
$(RM) -f src/version.hpp
endif
endif
$(RM) -rf obj
$(RM) -f "$(TARGET)" mount.mergerfs
$(FIND) . -name "*~" -delete

Loading…
Cancel
Save