diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-12-24 17:21:59 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-12-24 17:27:26 -0800 |
commit | 0f71c53437c5fccc35de2e88c23ea5e64eaa76a5 (patch) | |
tree | d158fe573813dbc6a8f4200b2955242ab3f0c560 /config | |
parent | 53cdf461612c2f6987bc6a920d37b15774ed274c (diff) | |
download | gnulib-0f71c53437c5fccc35de2e88c23ea5e64eaa76a5.tar.gz |
maint: break out '&& mv $@-t $@'
* build-aux/git-version-gen, config/argz.mk, modules/configmake:
* modules/posix_spawnp-tests, modules/snippet/link-warning:
Break out '&& mv $@-t $@' to a separate line in the Make recipe,
as this makes things a bit easier to debug.
Diffstat (limited to 'config')
-rw-r--r-- | config/argz.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/argz.mk b/config/argz.mk index 1d6d60b9d4..87bf02474d 100644 --- a/config/argz.mk +++ b/config/argz.mk @@ -46,7 +46,8 @@ argz.c: $(argz_files) perl -pe 's/__(argz_|st|mem)/$$1/g' $$i \ | perl -0x0 -pe 's,/\*(.|\n)+?\*/\n,,' \ | grep -vE '^(#include|INTDEF|weak_alias|libc_hidden_def)'; \ - done) > $@-t && mv $@-t $@ + done) > $@-t + mv $@-t $@ argz.in.h: $(glibc_dir)/string/argz.h perl -pe 's/__(restrict|const|st|mem)/$$1/g;' \ @@ -57,7 +58,8 @@ argz.in.h: $(glibc_dir)/string/argz.h '/^(#include <features\.h>|__(?:BEGIN|END)_DECLS)/ or print' \ | perl -0x3b -pe 's/extern \S+ \*?__argz_(.|\n)*?\)\n*;//' \ | perl -pe 's/__(argz_next)/$$1/g;' \ - > $@-t && mv $@-t $@ + > $@-t + mv $@-t $@ clean: rm -f $(targets) |