diff options
author | Joachim Schmitz <jojo@schmitz-digital.de> | 2012-09-08 19:01:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-08 20:40:06 -0700 |
commit | dc9f462d42514f6038f4e512c1d0ad32bcdc4c74 (patch) | |
tree | 23d6df55865dc907f2a08cc204732e2790cc2d0a /Makefile | |
parent | 0539ecfdfce677b05992af5e9899a9e974130400 (diff) | |
download | git-dc9f462d42514f6038f4e512c1d0ad32bcdc4c74.tar.gz git-dc9f462d42514f6038f4e512c1d0ad32bcdc4c74.tar.xz |
Document MKDIR_WO_TRAILING_SLASH in Makefile
Signed-off-by: Joachim Schmitz <jojo@schmitz-digital.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -90,6 +90,8 @@ all:: # # Define NO_MKDTEMP if you don't have mkdtemp in the C library. # +# Define MKDIR_WO_TRAILING_SLASH if your mkdir() can't deal with trailing slash. +# # Define NO_MKSTEMPS if you don't have mkstemps in the C library. # # Define NO_STRTOK_R if you don't have strtok_r in the C library. @@ -1639,6 +1641,10 @@ ifdef NO_MKDTEMP COMPAT_CFLAGS += -DNO_MKDTEMP COMPAT_OBJS += compat/mkdtemp.o endif +ifdef MKDIR_WO_TRAILING_SLASH + COMPAT_CFLAGS += -DMKDIR_WO_TRAILING_SLASH + COMPAT_OBJS += compat/mkdir.o +endif ifdef NO_MKSTEMPS COMPAT_CFLAGS += -DNO_MKSTEMPS endif |