From: Eric Blake Date: Thu, 13 Dec 2012 22:43:39 +0000 (-0700) Subject: build: use fewer cat processes X-Git-Tag: v1.0.1-rc2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c0a8056ee2c1bf1c7f12e43a884e5fb9279bc10a;p=thirdparty%2Flibvirt.git build: use fewer cat processes * src/Makefile.am (libvirt.syms): Let cat loop for us. --- diff --git a/src/Makefile.am b/src/Makefile.am index 33b4ab0fe1..25b6e3f631 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1457,9 +1457,7 @@ libvirt.syms: libvirt_public.syms $(USED_SYM_FILES) \ printf '\n\n# Private symbols\n\n' >>$@-tmp && \ printf 'LIBVIRT_PRIVATE_$(VERSION) {\n\n' >>$@-tmp && \ printf 'global:\n\n' >>$@-tmp && \ - for file in $(USED_SYM_FILES); do \ - cat $$file >>$@-tmp; \ - done && \ + cat $(USED_SYM_FILES) >>$@-tmp && \ printf '\n\nlocal:\n*;\n\n};' >>$@-tmp && \ chmod a-w $@-tmp && \ mv $@-tmp libvirt.syms