|
From: | James Smith |
Subject: | Re: test -z and test -n DESTDIR support |
Date: | Thu, 26 Jul 2012 10:04:09 +1000 |
User-agent: | Internet Messaging Program (IMP) H3 (4.3.11) |
The above is indeed generated by automake, but it is perfectly correct. We don't want to install anything in $(docdir) it that expands to the empty string; that holds even if $(DESTDIR) is non-empty. So a 'test -z "$(DESTDIR)$(docdir)"' would be incorrect.
Ah, so I see. I thought it was checking if the directory or file existed already.
Thanks for your patience ;-) James
[Prev in Thread] | Current Thread | [Next in Thread] |