Makefile: whitespace style fixes in macro definitions

Consistently use a single space before and after the "=" (or ":=", "+=", etc.) in assignments to make macros. Granted, this was not a big deal, but I did find the needless inconsistency quite distracting. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stefano Lattarini committed Dec 9, 2012 at 11:36 UTC dd6fc7ca91f79f9cee70943e64c4a4d4569ca4dd
3 files changed +30 -30
Makefile
+28 -28
@@ -374,7 +374,7 @@ htmldir = share/doc/git-doc
374 ETC_GITCONFIG = $(sysconfdir)/gitconfig
375 ETC_GITATTRIBUTES = $(sysconfdir)/gitattributes
376 lib = lib
377 -# DESTDIR=
377 +# DESTDIR =
378 pathsep = :
379
380 export prefix bindir sharedir sysconfdir gitwebdir localedir
@@ -575,9 +575,9 @@ endif
575 export PERL_PATH
576 export PYTHON_PATH
577
578 -LIB_FILE=libgit.a
579 -XDIFF_LIB=xdiff/lib.a
580 -VCSSVN_LIB=vcs-svn/lib.a
578 +LIB_FILE = libgit.a
579 +XDIFF_LIB = xdiff/lib.a
580 +VCSSVN_LIB = vcs-svn/lib.a
581
582 LIB_H += xdiff/xinclude.h
583 LIB_H += xdiff/xmacros.h
@@ -1139,7 +1139,7 @@ ifeq ($(uname_S),NetBSD)
1139 endif
1140 ifeq ($(uname_S),AIX)
1141 DEFAULT_PAGER = more
1142 - NO_STRCASESTR=YesPlease
1142 + NO_STRCASESTR = YesPlease
1143 NO_MEMMEM = YesPlease
1144 NO_MKDTEMP = YesPlease
1145 NO_MKSTEMPS = YesPlease
@@ -1147,7 +1147,7 @@ ifeq ($(uname_S),AIX)
1147 NO_NSEC = YesPlease
1148 FREAD_READS_DIRECTORIES = UnfortunatelyYes
1149 INTERNAL_QSORT = UnfortunatelyYes
1150 - NEEDS_LIBICONV=YesPlease
1150 + NEEDS_LIBICONV = YesPlease
1151 BASIC_CFLAGS += -D_LARGE_FILES
1152 ifeq ($(shell expr "$(uname_V)" : '[1234]'),1)
1153 NO_PTHREADS = YesPlease
@@ -1155,13 +1155,13 @@ ifeq ($(uname_S),AIX)
1155 PTHREAD_LIBS = -lpthread
1156 endif
1157 ifeq ($(shell expr "$(uname_V).$(uname_R)" : '5\.1'),3)
1158 - INLINE=''
1158 + INLINE = ''
1159 endif
1160 GIT_TEST_CMP = cmp
1161 endif
1162 ifeq ($(uname_S),GNU)
1163 # GNU/Hurd
1164 - NO_STRLCPY=YesPlease
1164 + NO_STRLCPY = YesPlease
1165 NO_MKSTEMPS = YesPlease
1166 HAVE_PATHS_H = YesPlease
1167 LIBC_CONTAINS_LIBINTL = YesPlease
@@ -1187,9 +1187,9 @@ ifeq ($(uname_S),IRIX)
1187 NEEDS_LIBGEN = YesPlease
1188 endif
1189 ifeq ($(uname_S),IRIX64)
1190 - NO_SETENV=YesPlease
1190 + NO_SETENV = YesPlease
1191 NO_UNSETENV = YesPlease
1192 - NO_STRCASESTR=YesPlease
1192 + NO_STRCASESTR = YesPlease
1193 NO_MEMMEM = YesPlease
1194 NO_MKSTEMPS = YesPlease
1195 NO_MKDTEMP = YesPlease
@@ -1203,14 +1203,14 @@ ifeq ($(uname_S),IRIX64)
1203 NO_REGEX = YesPlease
1204 NO_FNMATCH_CASEFOLD = YesPlease
1205 SNPRINTF_RETURNS_BOGUS = YesPlease
1206 - SHELL_PATH=/usr/gnu/bin/bash
1206 + SHELL_PATH = /usr/gnu/bin/bash
1207 NEEDS_LIBGEN = YesPlease
1208 endif
1209 ifeq ($(uname_S),HP-UX)
1210 INLINE = __inline
1211 - NO_IPV6=YesPlease
1212 - NO_SETENV=YesPlease
1213 - NO_STRCASESTR=YesPlease
1211 + NO_IPV6 = YesPlease
1212 + NO_SETENV = YesPlease
1213 + NO_STRCASESTR = YesPlease
1214 NO_MEMMEM = YesPlease
1215 NO_MKSTEMPS = YesPlease
1216 NO_STRLCPY = YesPlease
@@ -1386,10 +1386,10 @@ ifeq ($(uname_S),NONSTOP_KERNEL)
1386 MKDIR_WO_TRAILING_SLASH = YesPlease
1387 # RFE 10-120912-4693 submitted to HP NonStop development.
1388 NO_SETITIMER = UnfortunatelyYes
1389 - SANE_TOOL_PATH=/usr/coreutils/bin:/usr/local/bin
1390 - SHELL_PATH=/usr/local/bin/bash
1389 + SANE_TOOL_PATH = /usr/coreutils/bin:/usr/local/bin
1390 + SHELL_PATH = /usr/local/bin/bash
1391 # as of H06.25/J06.14, we might better use this
1392 - #SHELL_PATH=/usr/coreutils/bin/bash
1392 + #SHELL_PATH = /usr/coreutils/bin/bash
1393 endif
1394 ifneq (,$(findstring MINGW,$(uname_S)))
1395 pathsep = ;
@@ -1437,7 +1437,7 @@ ifneq (,$(findstring MINGW,$(uname_S)))
1437 X = .exe
1438 SPARSE_FLAGS = -Wno-one-bit-signed-bitfield
1439 ifneq (,$(wildcard ../THIS_IS_MSYSGIT))
1440 - htmldir=doc/git/html/
1440 + htmldir = doc/git/html/
1441 prefix =
1442 INSTALL = /bin/install
1443 EXTLIBS += /mingw/lib/libz.a
@@ -1559,7 +1559,7 @@ else
1559 CURL_LIBCURL = -lcurl
1560 endif
1561 ifdef NEEDS_SSL_WITH_CURL
1562 - CURL_LIBCURL += -lssl
1562 + CURL_LIBCURL += -lssl
1563 ifdef NEEDS_CRYPTO_WITH_SSL
1564 CURL_LIBCURL += -lcrypto
1565 endif
@@ -1768,7 +1768,7 @@ ifdef OBJECT_CREATION_USES_RENAMES
1768 endif
1769 ifdef NO_STRUCT_ITIMERVAL
1770 COMPAT_CFLAGS += -DNO_STRUCT_ITIMERVAL
1771 - NO_SETITIMER=YesPlease
1771 + NO_SETITIMER = YesPlease
1772 endif
1773 ifdef NO_SETITIMER
1774 COMPAT_CFLAGS += -DNO_SETITIMER
@@ -1920,15 +1920,15 @@ ifneq (,$(XDL_FAST_HASH))
1920 endif
1921
1922 ifeq ($(TCLTK_PATH),)
1923 -NO_TCLTK=NoThanks
1923 +NO_TCLTK = NoThanks
1924 endif
1925
1926 ifeq ($(PERL_PATH),)
1927 -NO_PERL=NoThanks
1927 +NO_PERL = NoThanks
1928 endif
1929
1930 ifeq ($(PYTHON_PATH),)
1931 -NO_PYTHON=NoThanks
1931 +NO_PYTHON = NoThanks
1932 endif
1933
1934 QUIET_SUBDIR0 = +$(MAKE) -C # space to separate -C and subdir
@@ -1975,13 +1975,13 @@ PROFILE_DIR := $(CURDIR)
1975 ifeq ("$(PROFILE)","GEN")
1976 CFLAGS += -fprofile-generate=$(PROFILE_DIR) -DNO_NORETURN=1
1977 EXTLIBS += -lgcov
1978 - export CCACHE_DISABLE=t
1979 - V=1
1978 + export CCACHE_DISABLE = t
1979 + V = 1
1980 else
1981 ifneq ("$(PROFILE)","")
1982 CFLAGS += -fprofile-use=$(PROFILE_DIR) -fprofile-correction -DNO_NORETURN=1
1983 - export CCACHE_DISABLE=t
1984 - V=1
1983 + export CCACHE_DISABLE = t
1984 + V = 1
1985 endif
1986 endif
1987
@@ -2830,7 +2830,7 @@ git.spec: git.spec.in GIT-VERSION-FILE
2830 sed -e 's/@@VERSION@@/$(GIT_VERSION)/g' < $< > $@+
2831 mv $@+ $@
2832
2833 -GIT_TARNAME=git-$(GIT_VERSION)
2833 +GIT_TARNAME = git-$(GIT_VERSION)
2834 dist: git.spec git-archive$(X) configure
2835 ./git-archive --format=tar \
2836 --prefix=$(GIT_TARNAME)/ HEAD^{tree} > $(GIT_TARNAME).tar
config.mak.in
+1 -1
@@ -18,7 +18,7 @@ datarootdir = @datarootdir@
18 template_dir = @datadir@/git-core/templates
19 sysconfdir = @sysconfdir@
20
21 -mandir=@mandir@
21 +mandir = @mandir@
22
23 srcdir = @srcdir@
24 VPATH = @srcdir@
t/Makefile
+1 -1
@@ -6,7 +6,7 @@
6 -include ../config.mak.autogen
7 -include ../config.mak
8
9 -#GIT_TEST_OPTS=--verbose --debug
9 +#GIT_TEST_OPTS = --verbose --debug
10 SHELL_PATH ?= $(SHELL)
11 PERL_PATH ?= /usr/bin/perl
12 TAR ?= $(TAR)