aboutsummaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
authorPaul Eggert2017-03-14 13:44:11 -0700
committerPaul Eggert2017-03-14 14:50:02 -0700
commitfac0bb9cf76072941ae9dc9c7019929eb1a0f1dd (patch)
tree1b9618b5eea568e8230b4348af3df1084bd63e67 /make-dist
parent5a64d78854998c2ed6d9b8de1b593d8462b8fa39 (diff)
downloademacs-fac0bb9cf76072941ae9dc9c7019929eb1a0f1dd.tar.gz
emacs-fac0bb9cf76072941ae9dc9c7019929eb1a0f1dd.zip
Merge from gnulib
This incorporates: 2017-03-14 snippets: move unadjusted snippet sources to lib 2017-03-14 gnulib-tool: fix typo in comment output 2017-03-14 snippets: work around GNU Make 3.82 VPATH 2017-03-13 gnulib-tool: minor --gnu-make fixups 2017-03-12 gnulib-tool: new option --gnu-make * .gitignore: Remove lib/arg-nonnull.h, lib/c++defs.h, lib/warn-on-use.h. Change exception from build-aux/snippet/_Noreturn.h to lib/_Noreturn.h. * admin/authors.el (authors-renamed-files-regexps): * admin/notes/copyright, make-dist: The snippet files moved from build-aux/snippet to lib. * lib/_Noreturn.h: Rename from build-aux/snippet/_Noreturn.h. * lib/arg-nonnull.h: Rename from build-aux/snippet/arg-nonnull.h. * lib/c++defs.h: Rename from build-aux/snippet/c++defs.h. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * lib/warn-on-use.h: Rename from build-aux/snippet/warn-on-use.h.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist13
1 files changed, 4 insertions, 9 deletions
diff --git a/make-dist b/make-dist
index 4054075e3aa..5370d03891e 100755
--- a/make-dist
+++ b/make-dist
@@ -366,7 +366,7 @@ ln aclocal.m4 CONTRIBUTE ${tempdir}
366echo "Creating subdirectories" 366echo "Creating subdirectories"
367for subdir in site-lisp \ 367for subdir in site-lisp \
368 leim leim/CXTERM-DIC leim/MISC-DIC leim/SKK-DIC \ 368 leim leim/CXTERM-DIC leim/MISC-DIC leim/SKK-DIC \
369 build-aux build-aux/snippet \ 369 build-aux \
370 src src/bitmaps lib lib-src oldXMenu lwlib \ 370 src src/bitmaps lib lib-src oldXMenu lwlib \
371 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ 371 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \
372 `find etc lisp admin test -type d` \ 372 `find etc lisp admin test -type d` \
@@ -424,10 +424,6 @@ echo "Making links to 'build-aux'"
424 ln update-copyright update-subdirs ../${tempdir}/build-aux 424 ln update-copyright update-subdirs ../${tempdir}/build-aux
425 ln dir_top make-info-dir ar-lib ../${tempdir}/build-aux) 425 ln dir_top make-info-dir ar-lib ../${tempdir}/build-aux)
426 426
427echo "Making links to 'build-aux/snippet'"
428(cd build-aux/snippet
429 ln *.h ../../${tempdir}/build-aux/snippet)
430
431echo "Making links to 'src'" 427echo "Making links to 'src'"
432### Don't distribute the configured versions of 428### Don't distribute the configured versions of
433### config.in, paths.in, buildobj.h, or Makefile.in. 429### config.in, paths.in, buildobj.h, or Makefile.in.
@@ -446,13 +442,12 @@ echo "Making links to 'src/bitmaps'"
446 ln README *.xbm ../../${tempdir}/src/bitmaps) 442 ln README *.xbm ../../${tempdir}/src/bitmaps)
447 443
448echo "Making links to 'lib'" 444echo "Making links to 'lib'"
449(snippet_h=`(cd build-aux/snippet && ls *.h)` 445(cd lib
450 cd lib 446 ln [a-zA-Z_]*.[ch] ../${tempdir}/lib
451 ln [a-zA-Z]*.[ch] ../${tempdir}/lib
452 ln gnulib.mk Makefile.am Makefile.in ../${tempdir}/lib 447 ln gnulib.mk Makefile.am Makefile.in ../${tempdir}/lib
453 cd ../${tempdir}/lib 448 cd ../${tempdir}/lib
454 script='/[*]/d; s/\.in\.h$/.h/' 449 script='/[*]/d; s/\.in\.h$/.h/'
455 rm -f `(echo "$snippet_h"; ls *.in.h) | sed "$script"`) 450 rm -f `ls *.in.h | sed "$script"`)
456 451
457echo "Making links to 'lib-src'" 452echo "Making links to 'lib-src'"
458(cd lib-src 453(cd lib-src