touching dependency files, take 2

2012-03-02 Thread Bruce Korb
This is a autoconf, automake and make question, rebuffed in gnulib. It's partly autoconf because autoconf stages dummy dependency files so the make include function won't choke. It is partly make because I find it a bit tricky getting the dependencies just right. It is, I think, mostly an automa

bug in $(wildcard) with trailing slash

2012-03-02 Thread Eric Blake
Make fails to restrict output to just directories when a wildcard contains both a trailing slash and internal slashes, even though it does the right thing with no internal slashes. $ mkdir /tmp/example $ cd /tmp/example/ $ touch a $ mkdir b $ printf 'all:\n\t@echo $(wildcard */)' | make -f - b/ $