equal
deleted
inserted
replaced
20 # Disable built in variables. |
20 # Disable built in variables. |
21 MAKEFLAGS += -R |
21 MAKEFLAGS += -R |
22 # Disable built in suffix rules. |
22 # Disable built in suffix rules. |
23 .SUFFIXES: |
23 .SUFFIXES: |
24 # Default target. |
24 # Default target. |
25 .DEFAULT_GOAL = all |
25 .DEFAULT_GOAL = help |
26 |
26 |
27 ################################################################ |
27 ################################################################ |
28 # Version extracting/generation. |
28 # Version extracting/generation. |
29 |
29 |
30 # Prevent from deploying and distributing with wrong version. |
30 # Prevent from deploying and distributing with wrong version. |
44 minor=$${ver#*.}; \ |
44 minor=$${ver#*.}; \ |
45 printf "vmajor=%s\nvminor=%s\n" $$major $$minor >VERSION |
45 printf "vmajor=%s\nvminor=%s\n" $$major $$minor >VERSION |
46 # is_release=`hg log --template '{latesttagdistance}'` |
46 # is_release=`hg log --template '{latesttagdistance}'` |
47 |
47 |
48 ################################################################ |
48 ################################################################ |
49 # Platform/environment definition. |
49 # Determine platform/environment. |
50 |
50 |
51 host_os = unix |
51 host_os = unix |
52 ifneq '' '$(COMSPEC)' |
52 ifneq '' '$(COMSPEC)' |
53 ifneq '' '$(WINDIR)' |
53 ifneq '' '$(WINDIR)' |
54 # Probably under Windows. |
54 # Probably under Windows. |