+Fri Jun 7 12:31:31 1996 Tom Tromey <tromey@creche.cygnus.com>
+
+ * automake.in (handle_tests): Fix quoting on `pwd`.
+ (handle_options): Recognize no-installinfo option.
+ (handle_man_pages): Don't put man directory on @installdirs if
+ no-installman is specified.
+ (handle_texinfo): Handle no-installinfo option.
+
+ * dejagnu.am (check-DEJAGNU): Depend on site.exp.
+
Sun Jun 2 10:33:10 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (handle_emacs_lisp): New function.
Priorities for release:
[ none ]
+** Write test case to check that no-installman suppresses dirs on
+ "make installdirs"
+
consider supporting "var+= stuff" syntax. rewrite to just var=... on
output. This is sometimes convenient when you want to write a
Makefile.am in more-or-less modular parts
document _LISP handling
+document no-installinfo option
+
================================================================
Libraries:
}
elsif ($_ eq 'no-installman' || $_ eq 'ansi2knr'
|| $_ eq 'dist-shar' || $_ eq 'dist-zip'
- || $_ eq 'dejagnu')
+ || $_ eq 'dejagnu' || $_ eq 'no-installinfo')
{
# Explicitly recognize these.
}
&push_phony_cleaners ('info');
push (@suffixes, '.texi', '.info', '.dvi');
- push (@uninstall, 'uninstall-info');
+
+ if (! defined $options{'no-installinfo'})
+ {
+ push (@uninstall, 'uninstall-info');
+ push (@installdirs, '$(infodir)');
+ unshift (@install_data, 'install-info');
+
+ # Make sure documentation is made and installed first. Use
+ # $(INFO_DEPS), not 'info', because otherwise recursive makes
+ # get run twice during "make all".
+ unshift (@all, '$(INFO_DEPS)');
+ }
push (@clean, 'info');
push (@info, '$(INFO_DEPS)');
push (@dvi, '$(DVIS)');
- push (@installdirs, '$(infodir)');
- unshift (@install_data, 'install-info');
-
- # Make sure documentation is made and installed first. Use
- # $(INFO_DEPS), not 'info', because otherwise recursive makes get
- # run twice during "make all".
- unshift (@all, '$(INFO_DEPS)');
$output_vars .= ("INFOS = " . join (' ', @infos_list) . "\n"
. "INFO_DEPS = " . join (' ', @info_deps_list) . "\n"
$output_rules .= "install-man: \$(MANS)\n";
foreach (keys %sections)
{
- push (@installdirs, '$(mandir)/man' . $_);
+ push (@installdirs, '$(mandir)/man' . $_)
+ unless defined $options{'no-installman'};
$output_rules .= ("\t" . '$(mkinstalldirs) $(mandir)/man'
. $_ . "\n");
}
. "\t\@echo '# edit the last section' >> site.exp\n"
. "\t\@echo 'set tool \$(DEJATOOL)' >> site.exp\n"
. "\t\@echo 'set srcdir \$(srcdir)' >> site.exp\n"
- . "\t\@echo 'set objdir \`pwd\`' >> site.exp\n");
+ . "\t\@echo 'set objdir' \`pwd\` >> site.exp\n");
# Extra stuff for AC_CANONICAL_*
local (@whatlist) = ();
# Note: order is significant - the case branches are not exclusive.
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
- alpha:OSF1:[VX]*:*)
- # After 1.2, OSF1 uses "V1.3" for uname -r.
- # After 4.x, OSF1 uses "X4.x" for uname -r.
- echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VX]//'`
- exit 0 ;;
alpha:OSF1:*:*)
+ # A Vn.n version is a released version.
+ # A Tn.n version is a released field test version.
+ # A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
- echo alpha-dec-osf${UNAME_RELEASE}
- exit 0 ;;
+ echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//'`
+ exit 0 ;;
21064:Windows_NT:50:3)
echo alpha-dec-winnt3.5
exit 0 ;;
exit 0 ;;
AViiON:dgux:*:*)
# DG/UX returns AViiON for all architectures
- UNAME_PROCESSOR=`uname -p`
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88100 ] ; then
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
-o ${TARGET_BINARY_INTERFACE}x = x ] ; then
## Name of tool to use. Default is the same as the package.
DEJATOOL = $(PACKAGE)
-check-DEJAGNU:
+check-DEJAGNU: site.exp
rootme=`cd $(top_builddir) && pwd`; \
## Life is easiest with an absolute srcdir, so do that.
srcdir=`cd $(srcdir) && pwd`; export srcdir; \
## Name of tool to use. Default is the same as the package.
DEJATOOL = $(PACKAGE)
-check-DEJAGNU:
+check-DEJAGNU: site.exp
rootme=`cd $(top_builddir) && pwd`; \
## Life is easiest with an absolute srcdir, so do that.
srcdir=`cd $(srcdir) && pwd`; export srcdir; \
# Note: order is significant - the case branches are not exclusive.
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
- alpha:OSF1:[VX]*:*)
- # After 1.2, OSF1 uses "V1.3" for uname -r.
- # After 4.x, OSF1 uses "X4.x" for uname -r.
- echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VX]//'`
- exit 0 ;;
alpha:OSF1:*:*)
+ # A Vn.n version is a released version.
+ # A Tn.n version is a released field test version.
+ # A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
- echo alpha-dec-osf${UNAME_RELEASE}
- exit 0 ;;
+ echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//'`
+ exit 0 ;;
21064:Windows_NT:50:3)
echo alpha-dec-winnt3.5
exit 0 ;;
exit 0 ;;
AViiON:dgux:*:*)
# DG/UX returns AViiON for all architectures
- UNAME_PROCESSOR=`uname -p`
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88100 ] ; then
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
-o ${TARGET_BINARY_INTERFACE}x = x ] ; then