Makefile: do not export mandir/htmldir/infodir
These are defined in the main Makefile to be funny values that are optionally relative to an unspecified location that is determined at runtime. They are only suitable for hardcoding in the binary via the -DGIT_{MAN,HTML,INFO}_PATH=<value> C preprocessor options, and are not real paths, contrary to what any sane person, and more importantly, the Makefile in the documentation directory, would expect. A longer term fix is to introduce runtime_{man,html,info}dir variables to hold these funny values, and make {man,html,info}dir variables to have real paths whose default values begin with $(prefix), but as a first step, stop exporting them from the top-level Makefile Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Feb 12, 2013 at 15:02 UTC
c09d62f5635928ab20909cb650b621f7520b56fb
1 file changed
+1
-1
Makefile
+1
-1
@@ -359,7 +359,7 @@ lib = lib
359
# DESTDIR=
360
pathsep = :
361
362
-export prefix bindir sharedir mandir htmldir sysconfdir gitwebdir localedir
362
+export prefix bindir sharedir sysconfdir gitwebdir localedir
363
364
CC = cc
365
AR = ar