diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-03-11 13:34:08 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-03-11 13:34:08 +0200 |
commit | ee51550c3951a47446ec85cb7f0b1ea7a898acaf (patch) | |
tree | 540d4a19624f31c2b4bc50af0b1cc250aad58b3a /nt/Makefile.in | |
parent | 2b3065f0afa0ef7019735845083395221fe26add (diff) | |
download | emacs-ee51550c3951a47446ec85cb7f0b1ea7a898acaf.tar.gz |
Fix generation of nt/gnulib.mk on macOS
* nt/Makefile.in (${srcdir}/gnulib.mk): Don't use the -f- option
to Sed, as that is not portable with non-GNU Sed variants.
(Bug#26043)
Diffstat (limited to 'nt/Makefile.in')
-rw-r--r-- | nt/Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nt/Makefile.in b/nt/Makefile.in index 34c552ca262..90ca6b85f74 100644 --- a/nt/Makefile.in +++ b/nt/Makefile.in @@ -262,6 +262,7 @@ emacs.res ../src/emacs.res: emacs.rc ${srcdir}/icons/emacs.ico \ $(AM_V_RC)${WINDRES} -I ${srcdir} -O coff -o $@ $< ${srcdir}/gnulib.mk: ${srcdir}/gnulib-modules-to-delete.cfg ${srcdir}/../lib/gnulib.mk - $(AM_V_GEN)sed '/^[^#]/s|^.*$$|/^## begin *gnulib module &/,/^## end *gnulib module &/d|' < $< | \ - sed -f- ${srcdir}/../lib/gnulib.mk > $@-t && \ - ${srcdir}/../build-aux/move-if-change $@-t $@ + $(AM_V_GEN)sed '/^[^#]/s|^.*$$|/^## begin *gnulib module &/,/^## end *gnulib module &/d|' < $< > t-gnulib.mk && \ + sed -f t-gnulib.mk ${srcdir}/../lib/gnulib.mk > $@-t && \ + ${srcdir}/../build-aux/move-if-change $@-t $@ && \ + rm -f t-gnulib.mk |