Wed Jan 3 00:05:40 1996 Tom Tromey <tromey@cambric.colorado.edu>
+ * mkinstalldirs: Reverted.
+
+ * automake.in (initialize_global_constants): Allow COPYING.LIB
+ again.
+ (check_gnits_standards): Disallow COPYING.LIB.
+
+ * texinfos.am (install-info): Only look in $(srcdir) for info
+ files.
+
* automake.in (initialize_global_constants): New variable
gen_copyright.
(read_am_file): Put a copyright in each Makefile.in.
Some things for --strictness=gnits:
* "cd $(foo); something" is an error in a rule. Should be:
"cd $(foo) && something"
+* check for version number in NEWS file.
+If --gnits or --gnu specified, then it should be specified in the
+"dist" target as well.
Maybe it should be possible to disable all GNU-specific things with
--no-gnu? --ignore-standards? But what? And why?
Should COPYING.LIB be distributed?
+Look at configure.in to see if NLS support is used. Then require the
+file ABOUT-NLS. Be sure to write this so that other configure.in
+tweaks are easy.
+
+Check all source files to make sure that FSF address is up-to-date.
+--gnits or --gnu only.
+
================================================================
For CONFIG_HEADER,
# Do any extra checking for GNITS standards.
sub check_gnits_standards
{
+ if ($strictness >= $GNITS && -f $relative_dir . '/COPYING.LIB')
+ {
+ &am_error
+ ("\`${relative_dir}/COPYING.LIB' disallowed by Gnits standards");
+ }
+
+ if ($relative_dir eq '.')
+ {
+ # In top level (or only) directory.
+ &require_file ($GNITS, 'THANKS');
+ }
}
################################################################
# DISTFILES.
@common_files =
(
- "README", "THANKS", "TODO", "NEWS", "COPYING",
+ "README", "THANKS", "TODO", "NEWS", "COPYING", "COPYING.LIB",
"INSTALL", "ABOUT-NLS", "ChangeLog", "configure", "configure.in",
"config.guess", "config.sub", "AUTHORS", "BACKLOG", "ABOUT-GNU"
);
install-info: $(INFO_DEPS)
$(top_srcdir)/mkinstalldirs $(infodir)
for file in $(INFO_DEPS); do \
- if test -f $$file; then \
- d=.; \
- else \
- d=$(srcdir); \
- fi; \
## This ${...} is in the shell, not in make.
- for ifile in `cd $$d && echo $${file}*`; do \
- $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
+ for ifile in $(srcdir)/$${file}*; do \
+ $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
done; \
## We need the 'else' because in some broken versions of sh 'if' will
## return false if the test fails. We use ':' because the GNU
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
+# Last modified: 1994-03-25
# Public domain
errstatus=0
-for file
-do
+for file in ${1+"$@"} ; do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
+# Last modified: 1994-03-25
# Public domain
errstatus=0
-for file
-do
+for file in ${1+"$@"} ; do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
install-info: $(INFO_DEPS)
$(top_srcdir)/mkinstalldirs $(infodir)
for file in $(INFO_DEPS); do \
- if test -f $$file; then \
- d=.; \
- else \
- d=$(srcdir); \
- fi; \
## This ${...} is in the shell, not in make.
- for ifile in `cd $$d && echo $${file}*`; do \
- $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
+ for ifile in $(srcdir)/$${file}*; do \
+ $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
done; \
## We need the 'else' because in some broken versions of sh 'if' will
## return false if the test fails. We use ':' because the GNU