On Monday 19 September 2005 20:33, Jean Delvare wrote:
> Hi all,
>
> After the recent changes to the build system, we now have a rule which
> is run whether the build is already complete or not:
>
> compat-programs : $(COMPAT_PROGRAMS:%=compat/%)
>       chmod +x $+
>
> This is causing noise on each build, and causing doc/quilt.1 to be
> regenerated if any compatibility program is used, wasting time. The
> rule triggers on "make install" too, causing targets to be potentially
> built by root, which we probably don't want to happen. How can we fix
> this? Can't we simply run that chmod at the moment we build each binary?

We can do this instead. It's not pretty, but hey...

+       @for program in $+; do \
+           test -x $$program || chmod +x $$program; \
+       done

-- Andreas.


_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to