+Wed Jan 3 00:05:40 1996 Tom Tromey <tromey@cambric.colorado.edu>
+
+ * depend.am ($(srcdir)/.deps/%.P): Must regexp-quote srcdir in sed
+ invocation.
+
+ * automake.in (initialize_global_constants): Don't quote "@" in
+ $install_man_format.
+ (handle_merge_targets): use "@:" as empty command, not ":".
+
Tue Jan 2 23:33:24 1996 Tom Tromey <tromey@cambric.colorado.edu>
+ * texinfos.am (install-info): Look in $d for info files. From
+ François Pinard.
+
+ * depend.am ($(srcdir)/.deps/%.P): Fixed regexp.
+
* automake.in (read_am_file): Correctly deal with continued
variable definitions.
else \
d=$(srcdir); \
fi; \
- for ifile in $${file}*; do \
- $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
+ for ifile in `cd $$d && echo $${file}*`; do \
+ $(INSTALL_DATA) $$ifile $(infodir)/$$ifile; \
done; \
done
install-data: install-info install-pkgdataDATA
install: install-exec install-data
- :
+ @:
uninstall: uninstall-binSCRIPTS uninstall-info uninstall-pkgdataDATA
$output_rules .= ('install: '
. join (' ', @install)
- . "\n\t:"
+ # Use "@:" as empty command so nothing prints.
+ . "\n\t\@:"
. "\n\n"
. 'uninstall: '
. join (' ', @uninstall)
# Helper text for dealing with man pages.
$install_man_format =
- ' \@sect=@SECTION@; \\
+ ' @sect=@SECTION@; \\
inst=`echo "@MANBASE@" | sed \'$(transform)\'`.@FULLSECT@; \\
echo installing @MAN@ as $(mandir)/man$$sect/$$inst; \\
$(INSTALL_DATA) $(srcdir)/@MAN@ $(mandir)/man$$sect/$$inst
$(srcdir)/.deps/%.P: $(srcdir)/%.c
@echo "mkdeps $< > $@"
- @$(MKDEP) $< | sed 's,$(srcdir)/,,g' > $@-tmp
+## Need \< in regexp because otherwise when srcdir=. too much can be
+## matched. Also we regexp-quote srcdir because "." is a matching
+## operator, and commonly appears in filenames.
+ @re=`echo 's,\<$(srcdir),,g' | sed 's/\./\\./g'`; \
+ $(MKDEP) $< | sed $$re > $@-tmp
@mv $@-tmp $@
# End of maintainer-only section
$(srcdir)/.deps/%.P: $(srcdir)/%.c
@echo "mkdeps $< > $@"
- @$(MKDEP) $< | sed 's,$(srcdir)/,,g' > $@-tmp
+## Need \< in regexp because otherwise when srcdir=. too much can be
+## matched. Also we regexp-quote srcdir because "." is a matching
+## operator, and commonly appears in filenames.
+ @re=`echo 's,\<$(srcdir),,g' | sed 's/\./\\./g'`; \
+ $(MKDEP) $< | sed $$re > $@-tmp
@mv $@-tmp $@
# End of maintainer-only section
d=$(srcdir); \
fi; \
## This ${...} is in the shell, not in make.
- for ifile in $${file}*; do \
- $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
+ for ifile in `cd $$d && echo $${file}*`; do \
+ $(INSTALL_DATA) $$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
d=$(srcdir); \
fi; \
## This ${...} is in the shell, not in make.
- for ifile in $${file}*; do \
- $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
+ for ifile in `cd $$d && echo $${file}*`; do \
+ $(INSTALL_DATA) $$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