Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Honor configure's htmldir switch

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:02

Christoph Thompson [off-list ref] writes:
Will the --htmldir switch still work by exporting mandir and htmldir from
the Makefile instead of
config.mak.in ?
It should not make a difference where you export them from.  Lets
see...

-- cut here -- >8 -- cut here --

$ cat >Makefile <<\EOF
# The default target of this Makefile is ...
all:

var1 = one
var2 = two
var5 = five
var7 = seven
var8 = eight
include config.mak

export var2 var4 var8

all:
	env | grep '^var'

EOF
$ cat >config.mak <<\EOF
var3 = three
var4 = four
var6 = six
var7 = siete
var8 = ocho

export var1 var3 var7
EOF
$ make
env | grep '^var'
var1=one
var3=three
var2=two
var4=four
var7=siete
var8=ocho

-- cut here -- 8< -- cut here --

Everything behaves as I expect, I think.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help