Makefile
changeset 261 30c6f0eb02db
parent 260 5f6befed263c
child 274 f0b6d4c0ee97
equal deleted inserted replaced
260:5f6befed263c 261:30c6f0eb02db
    45 # Version extracting/generation.
    45 # Version extracting/generation.
    46 
    46 
    47 # Prevent from deploying and distributing with wrong version.
    47 # Prevent from deploying and distributing with wrong version.
    48 ifneq '' '$(filter deploy% dist%,$(MAKECMDGOALS))'
    48 ifneq '' '$(filter deploy% dist%,$(MAKECMDGOALS))'
    49   ifeq '' '$(MAKE_RESTARTS)'
    49   ifeq '' '$(MAKE_RESTARTS)'
    50     $(info $(shell rm VERSION))
    50     $(info $(shell rm -f VERSION))
    51   endif
    51   endif
    52 endif
    52 endif
    53 
    53 
    54 # Here are vmajor and vminor. Look README section "Versioning rules."
    54 # Here are vmajor and vminor. Look README section "Versioning rules."
    55 -include VERSION
    55 -include VERSION