+2017-03-13 Paul Eggert <eggert@cs.ucla.edu>
+
+ gnulib-tool: minor --gnu-make fixups
+ * gnulib-tool (func_emit_lib_Makefile_am):
+ Remove useless code that was a blind alley during implementation.
+ Problem reported by Thien-Thi Nguyen in:
+ http://lists.gnu.org/archive/html/bug-gnulib/2017-03/msg00029.html
+ (func_import): Note the "--gnu-make" option in the output comment.
+
2017-03-12 Paul Eggert <eggert@cs.ucla.edu>
gnulib-tool: new option --gnu-make
fi
cat "$tmp"/allsnippets \
| sed -e 's|\$(top_srcdir)/build-aux/|$(top_srcdir)/'"$auxdir"'/|g'
- # Determine variables the automake snippet mentions.
- if false && $gnu_make; then
- sed_get_makefile_vars='
- :again
- /@/!d
- s/^[^@]*@//
- h
- /^[a-zA-Z_][a-zA-Z_0-9]*@/{
- s/@.*//p
- g
- s/^[^@]*@//
- h
- }
- g
- b again
- '
- substs=`func_get_automake_snippet "$module" \
- | LC_ALL=C sed -e "$sed_get_makefile_vars"`
- fi
echo
echo "mostlyclean-local: mostlyclean-generic"
echo " @for dir in '' \$(MOSTLYCLEANDIRS); do \\"
func_append actioncmd " --lgpl=$lgpl"
fi
fi
+ if test -n "$gnu_make"; then
+ func_append actioncmd " --gnu-make"
+ fi
if test -n "$makefile_name"; then
func_append actioncmd " --makefile-name=$makefile_name"
fi