]> Savannah Git Hosting - gnulib.git/commit
snippets: work around GNU Make 3.82 VPATH
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Mar 2017 08:20:11 +0000 (01:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Mar 2017 08:21:00 +0000 (01:21 -0700)
commit1c2185b80a7ccc6c26a0dd880af81cb5713614e2
treee63f7b9e77599741feb2f9cad164fc5838fa2a73
parentd6088547633af472625ab815452004c22fda6d58
snippets: work around GNU Make 3.82 VPATH

When using 'gnulib-tool --gnu-make' on Emacs, and building
the resulting tarball on Solaris 10 which bundles GNU Make 3.82,
an out-of-source (VPATH) build failed because the sans-copyright
snippet file was not built before the file that used it.
Presumably this is some sort of VPATH thing.  Work around the
problem by using the original snippet, i.e., don’t bother to
remove its copyright notice.
* modules/snippet/_Noreturn, modules/snippet/link-warning:
Don’t assume Automake in comments.  Omit long-incorrect comment.
* modules/snippet/arg-nonnull (BUILT_SOURCES, arg-nonnull.h)
(MOSTLYCLEANFILES):
* modules/snippet/c++defs (BUILT_SOURCES, c++defs.h)
(MOSTLYCLEANFILES):
* modules/snippet/unused-parameter (BUILT_SOURCES, unused-parameter.h)
(MOSTLYCLEANFILES):
* modules/snippet/warn-on-use (BUILT_SOURCES, warn-on-use.h)
(MOSTLYCLEANFILES):
Remove.
* modules/snippet/arg-nonnull (ARG_NONNULL_H):
* modules/snippet/c++defs (CXXDEFS_H):
* modules/snippet/unused-parameter (UNUSED_PARAMETER_H):
* modules/snippet/warn-on-use (WARN_ON_USE_H):
Don’t bother to remove the copyright notice; just use the
original snippet as-is.
ChangeLog
modules/snippet/_Noreturn
modules/snippet/arg-nonnull
modules/snippet/c++defs
modules/snippet/link-warning
modules/snippet/unused-parameter
modules/snippet/warn-on-use