+Sun Jan 14 13:54:16 1996 Tom Tromey <tromey@creche.cygnus.com>
+
+ Changes from François Pinard:
+ * texinfos.am (install-info): Correctly install when build dir is
+ not srcdir.
+ * tags-subd.am (ID): Indentation change.
+ * kr-vars.am (o): Use ".@U@o", not "@U@o".
+ * depend.am ($(srcdir)/.deps/%.P): Remove temporary file.
+ * automake.in (handle_dist_worker): Fixlets.
+ (handle_dist): Sort keys going into dist_common.
+
Sat Jan 13 00:18:06 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (handle_dist_worker): If Gnits, don't allow release
and backslash should be the rule. Update makefile-mode to allow this.
(set column to 0, probably)
-Look in configure to see what goes in LIBOBJS. Recognize all automake
-macros that do this. And look for:
- LIBOBJS="x.o $LIBOBJS y.o"
-
Need OTHER_SOURCES to hold sources whose objects end up in eg LIBOBJS.
Dependency tracking should work here. Maybe if it doesn't exist it
should be generated automatically by scanning the directory. (yes)
local ($target) = $distshar ? 'dist-shar' : 'dist';
$output_rules .= $target . ': $(DEP_DISTFILES)' . "\n";
-
+
# Initialization; only at top level.
if ($relative_dir eq '.')
{
{
$output_rules .= ' @for dir in $(DIST_SUBDIRS); do \\
echo copying directory $$dir; \\
- tar -chf - $$dir | (cd $(distdir) && tar -xBpf -); \\
+ tar chf - $$dir | (cd $(distdir) && tar xBpf -); \\
done
';
}
}
else
{
- $output_rules .= 'tar -chozf $(distdir).tar.gz $(distdir)';
+ $output_rules .= 'tar chozf $(distdir).tar.gz $(distdir)';
}
$output_rules .= "\n\t" . 'rm -rf $(distdir)' . "\n";
}
push (@coms, 'README');
undef $dist_common{'README'};
}
- push (@coms, keys %dist_common);
+ push (@coms, sort keys %dist_common);
&pretty_print ("DIST_COMMON =", '', @coms);
$output_vars .= "\n";
$(MKDEP) $< | sed $$re > $@-tmp
@if test -n "$o"; then \
sed 's/\.o:/$$o:/' $@-tmp > $@; \
+ rm $@-tmp; \
else \
mv $@-tmp $@; \
fi
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
ANSI2KNR = @ANSI2KNR@
-o = @U@o
+o = .@U@o
$(MKDEP) $< | sed $$re > $@-tmp
@if test -n "$o"; then \
sed 's/\.o:/$$o:/' $@-tmp > $@; \
+ rm $@-tmp; \
else \
mv $@-tmp $@; \
fi
install-info: $(INFO_DEPS)
$(top_srcdir)/mkinstalldirs $(infodir)
for file in $(INFO_DEPS); do \
-## This ${...} is in the shell, not in make.
- for ifile in $(srcdir)/$${file}*; do \
+## This ${...} is in the shell, not in make. We use these strange
+## circumlocutions because we want the "ifile" to be relative, for the
+## install.
+ for ifile in `cd $(srcdir) && echo $${file}*`; do \
$(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
done; \
## We need the 'else' because in some broken versions of sh 'if' will
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
-ID: $(HEADERS) $(SOURCES)
+ID: $(HEADERS) $(SOURCES)
here=`pwd` && cd $(srcdir) && mkid -f $$here/ID $(SOURCES) $(HEADERS)
tags: TAGS
install-info: $(INFO_DEPS)
$(top_srcdir)/mkinstalldirs $(infodir)
for file in $(INFO_DEPS); do \
-## This ${...} is in the shell, not in make.
- for ifile in $(srcdir)/$${file}*; do \
+## This ${...} is in the shell, not in make. We use these strange
+## circumlocutions because we want the "ifile" to be relative, for the
+## install.
+ for ifile in `cd $(srcdir) && echo $${file}*`; do \
$(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
done; \
## We need the 'else' because in some broken versions of sh 'if' will