On Sun, Aug 13, 2023 at 09:21:22PM +0200, Lucas Nussbaum wrote:

> > rm -rf cxx_repository
> > for f in .deps/*; do                \
> >     rm -f $f;                       \
> >     touch $f;                               \
> > done
> > touch: cannot touch '.deps/*': No such file or directory
> > make[3]: *** [Makefile:1127: clean-local] Error 1
> > make[2]: *** [Makefile:526: distclean-recursive] Error 1

Hello Pierre.

(I'm writing you as upstream as I see you are hosting the homepage).

I've noticed that (in the current version) there are no .deps directories
around after a successful build, and that's why the above fails.

(Here, variable f takes the single value ".deps/*" because there is no
globbing expansion).

To fix it, I've patched the different Makefile.am files in this way
in a team upload:

--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -167,10 +167,6 @@
 
 clean-local:
        rm -rf cxx_repository
-       for f in $(DEPDIR)/*; do                \
-           rm -f $$f;                  \
-           touch $$f;                          \
-       done

So, the Debian package is fixed, but you might want to check if the
upstream code still does that.

Thanks.

Reply via email to