bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

maint.mk sc_prohibit_always_true_header_tests: bad cd


From: Martin von Gagern
Subject: maint.mk sc_prohibit_always_true_header_tests: bad cd
Date: Tue, 25 May 2010 21:59:12 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100411 Thunderbird/3.0.4

Hi there!

Running "make sc_prohibit_always_true_header_tests" causes a cd
invocation to fail, without make aborting:

> prohibit_always_true_header_tests
> /bin/sh: line 0: cd: ./gnulib/lib: No such file or directory

It would be nice to actually check that $(gnulib_dir) exists, and either
skip the check (like sc_prohibit_always-defined_macros does) or error
out if that dir doesn't exist.

I wonder whether "gnulib" is a sane initial value for that dir. I at
least have gnulib at the root of my source tree, and I somehow got the
impression that many projects might, so "." would be better.

I also wonder whether the "/lib" subdir should be configurable as well.
But there are a lot of hardwired dirs in maint.mk, and if one were to
fix this, one should do so consistently, I think.

Greetings,
 Martin

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]