1999-03-26 Tom Tromey <tromey@cygnus.com>
+ * automake.in (am_install_var): Removed obsolete comment.
+
+ * texinfos.am (uninstall-info): Don't print loop but instead print
+ commands. Simplified pre-uninstall loop.
+ * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
+ instead print commands.
+ * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
+ print commands.
+ * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
+ instead print commands.
+ * lisp.am (install-@DIR@LISP): Strip subdir from file name.
+ (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
+ instead print commands.
+ * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
+ print commands.
+ * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
+ print commands.
+ * header.am (install-@DIR@HEADERS): Strip subdir from file name.
+ (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
+ instead print commands.
+ * data.am (install-@DIR@DATA): Strip subdir from file name.
+ (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
+ instead print commands.
+
* automake.in (handle_merge_targets): `install-strip' is a phony
target. From Michel de Ruiter.
* Never use basename or dirname. Instead use sed
+* For install and uninstall rules, if a loop is required, it should be
+ silent. Then the body of the loop itself should print each
+ "important" comman it runs. The printed commands should be preceded
+ by a single space.
+
================================================================
= Editing automake.in and aclocal.in
uninstall-binSCRIPTS:
@$(NORMAL_UNINSTALL)
- list='$(bin_SCRIPTS)'; for p in $$list; do \
- rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
+ @list='$(bin_SCRIPTS)'; for p in $$list; do \
+ file="`echo $$p|sed '$(transform)'`"; \
+ echo " rm -f $(DESTDIR)$(bindir)/$$file"; \
+ rm -f $(DESTDIR)$(bindir)/$$file; \
done
$(srcdir)/version.texi: stamp-vti
uninstall-info:
$(PRE_UNINSTALL)
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
- ii=yes; \
- else ii=; fi; \
- list='$(INFO_DEPS)'; \
- for file in $$list; do \
- test -z "$ii" \
- || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
- done
+ list='$(INFO_DEPS)'; \
+ for file in $$list; do \
+ echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file"; \
+ install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
+ done; \
+ else :; fi
@$(NORMAL_UNINSTALL)
- list='$(INFO_DEPS)'; \
+ @list='$(INFO_DEPS)'; \
for file in $$list; do \
- (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
+ (if cd $(DESTDIR)$(infodir); then \
+ echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
+ rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
+ else :; fi); \
done
dist-info: $(INFO_DEPS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
@list='$(pkgdata_DATA)'; for p in $$list; do \
- if test -f $(srcdir)/$$p; then \
- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
- else if test -f $$p; then \
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
- $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
- fi; fi; \
+ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
done
uninstall-pkgdataDATA:
@$(NORMAL_UNINSTALL)
- list='$(pkgdata_DATA)'; for p in $$list; do \
- rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
+ @list='$(pkgdata_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
+ rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
done
install-scriptDATA: $(script_DATA)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(scriptdir)
@list='$(script_DATA)'; for p in $$list; do \
- if test -f $(srcdir)/$$p; then \
- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(scriptdir)/$$p"; \
- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(scriptdir)/$$p; \
- else if test -f $$p; then \
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(scriptdir)/$$p"; \
- $(INSTALL_DATA) $$p $(DESTDIR)$(scriptdir)/$$p; \
- fi; fi; \
+ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f; \
done
uninstall-scriptDATA:
@$(NORMAL_UNINSTALL)
- list='$(script_DATA)'; for p in $$list; do \
- rm -f $(DESTDIR)$(scriptdir)/$$p; \
+ @list='$(script_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(scriptdir)/$$f"; \
+ rm -f $(DESTDIR)$(scriptdir)/$$f; \
done
# This directory's subdirectories are mostly independent; you can cd
dvi-am dvi check check-am installcheck-local installcheck-am \
installcheck install-exec-am install-exec install-data-am install-data \
install-am install uninstall-am uninstall all-redirect all-am all \
-installdirs-am installdirs mostlyclean-generic distclean-generic \
-clean-generic maintainer-clean-generic clean mostlyclean distclean \
-maintainer-clean
+install-strip installdirs-am installdirs mostlyclean-generic \
+distclean-generic clean-generic maintainer-clean-generic clean \
+mostlyclean distclean maintainer-clean
install-data-hook:
# variable of the same name (with "dir" appended) exists. For
# instance, if the variable "zardir" is defined, then
# "zar_PROGRAMS" becomes valid. This is to provide a little extra
- # flexibility in those cases which need it. Perhaps it should be
- # disallowed in the Gnits case? The problem is, sometimes it is
- # useful to put things in a subdir of eg pkgdatadir, perhaps even
- # for Gnitsoids.
+ # flexibility in those cases which need it.
local (%valid) = &am_primary_prefixes ($primary, @prefixes);
# If a primary includes a configure substitution, then the EXTRA_
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## Funny invocation because Makefile variable can be empty, leading to
## a syntax error in sh.
@list='$(@DIR@_DATA)'; for p in $$list; do \
- if test -f $(srcdir)/$$p; then \
- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(@DIR@dir)/$$p"; \
- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(@DIR@dir)/$$p; \
- else if test -f $$p; then \
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(@DIR@dir)/$$p"; \
- $(INSTALL_DATA) $$p $(DESTDIR)$(@DIR@dir)/$$p; \
- fi; fi; \
+ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+## If the _DATA variable has an entry like foo/bar, install it as
+## $(destdir)/bar, not $(destdir)/foo/bar. The user can always make a
+## new dir variable for the latter case.
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$f"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$f; \
done
uninstall-@DIR@DATA:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_DATA)'; for p in $$list; do \
- rm -f $(DESTDIR)$(@DIR@dir)/$$p; \
+ @list='$(@DIR@_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(@DIR@dir)/$$f"; \
+ rm -f $(DESTDIR)$(@DIR@dir)/$$f; \
done
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@list='$(@DIR@_HEADERS)'; for p in $$list; do \
## A header file can be in the source directory or the build directory.
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
- echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$p"; \
- $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$p; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$f"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$f; \
done
uninstall-@DIR@HEADERS:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_HEADERS)'; for p in $$list; do \
- rm -f $(DESTDIR)$(@DIR@dir)/$$p; \
+ @list='$(@DIR@_HEADERS)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(@DIR@dir)/$$f"; \
+ rm -f $(DESTDIR)$(@DIR@dir)/$$f; \
done
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1998 Free Software Foundation, Inc.
+## Copyright (C) 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
uninstall-@DIR@JAVA:
@$(NORMAL_UNINSTALL)
- for p in *.class; do \
+ @for p in *.class; do \
+ echo " rm -f $(DESTDIR)$(@DIR@dir)/$$p"; \
rm -f $(DESTDIR)$(@DIR@dir)/$$p; \
done
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## Funny invocation because Makefile variable can be empty, leading to
## a syntax error in sh.
@list='$(@DIR@_DATA)'; for p in $$list; do \
- if test -f $(srcdir)/$$p; then \
- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(@DIR@dir)/$$p"; \
- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(@DIR@dir)/$$p; \
- else if test -f $$p; then \
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(@DIR@dir)/$$p"; \
- $(INSTALL_DATA) $$p $(DESTDIR)$(@DIR@dir)/$$p; \
- fi; fi; \
+ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+## If the _DATA variable has an entry like foo/bar, install it as
+## $(destdir)/bar, not $(destdir)/foo/bar. The user can always make a
+## new dir variable for the latter case.
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$f"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$f; \
done
uninstall-@DIR@DATA:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_DATA)'; for p in $$list; do \
- rm -f $(DESTDIR)$(@DIR@dir)/$$p; \
+ @list='$(@DIR@_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(@DIR@dir)/$$f"; \
+ rm -f $(DESTDIR)$(@DIR@dir)/$$f; \
done
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@list='$(@DIR@_HEADERS)'; for p in $$list; do \
## A header file can be in the source directory or the build directory.
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
- echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$p"; \
- $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$p; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$f"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$f; \
done
uninstall-@DIR@HEADERS:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_HEADERS)'; for p in $$list; do \
- rm -f $(DESTDIR)$(@DIR@dir)/$$p; \
+ @list='$(@DIR@_HEADERS)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(@DIR@dir)/$$f"; \
+ rm -f $(DESTDIR)$(@DIR@dir)/$$f; \
done
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1998 Free Software Foundation, Inc.
+## Copyright (C) 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
uninstall-@DIR@JAVA:
@$(NORMAL_UNINSTALL)
- for p in *.class; do \
+ @for p in *.class; do \
+ echo " rm -f $(DESTDIR)$(@DIR@dir)/$$p"; \
rm -f $(DESTDIR)$(@DIR@dir)/$$p; \
done
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
uninstall-@DIR@LIBRARIES:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_LIBRARIES)'; for p in $$list; do \
+ @list='$(@DIR@_LIBRARIES)'; for p in $$list; do \
+ echo " rm -f $(DESTDIR)$(@DIR@dir)/$$p"; \
rm -f $(DESTDIR)$(@DIR@dir)/$$p; \
done
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1996, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1996, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@list='$(@DIR@_LISP)'; for p in $$list; do \
## A header file can be in the source directory or the build directory.
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
- echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$p"; \
- $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$p; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$f"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$f; \
## Only install .elc file if it exists.
if test -f $${p}c; then \
- echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(@DIR@dir)/$${p}c"; \
- $(INSTALL_DATA) $${p}c $(DESTDIR)$(@DIR@dir)/$${p}c; \
+ echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(@DIR@dir)/$${f}c"; \
+ $(INSTALL_DATA) $${p}c $(DESTDIR)$(@DIR@dir)/$${f}c; \
else : ; fi; \
done
uninstall-@DIR@LISP:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_LISP)'; for p in $$list; do \
- rm -f $(@DIR@dir)/$$p $(DESTDIR)$(@DIR@dir)/$${p}c; \
+ @list='$(@DIR@_LISP)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(@DIR@dir)/$$f $(DESTDIR)$(@DIR@dir)/$${f}c"; \
+ rm -f $(@DIR@dir)/$$f $(DESTDIR)$(@DIR@dir)/$${f}c; \
done
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
uninstall-@DIR@LTLIBRARIES:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_LTLIBRARIES)'; for p in $$list; do \
+ @list='$(@DIR@_LTLIBRARIES)'; for p in $$list; do \
+ echo " @LIBTOOL --mode=uninstall@ rm -f $(DESTDIR)$(@DIR@dir)/$$p"; \
@LIBTOOL --mode=uninstall@ rm -f $(DESTDIR)$(@DIR@dir)/$$p; \
done
uninstall-@DIR@PROGRAMS:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_PROGRAMS)'; for p in $$list; do \
- rm -f $(DESTDIR)$(@DIR@dir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`; \
+ @list='$(@DIR@_PROGRAMS)'; for p in $$list; do \
+ file="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+ echo " rm -f $(DESTDIR)$(@DIR@dir)/$$file"; \
+ rm -f $(DESTDIR)$(@DIR@dir)/$$file; \
done
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
uninstall-@DIR@SCRIPTS:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_SCRIPTS)'; for p in $$list; do \
- rm -f $(DESTDIR)$(@DIR@dir)/`echo $$p|sed '$(transform)'`; \
+ @list='$(@DIR@_SCRIPTS)'; for p in $$list; do \
+ file="`echo $$p|sed '$(transform)'`"; \
+ echo " rm -f $(DESTDIR)$(@DIR@dir)/$$file"; \
+ rm -f $(DESTDIR)$(@DIR@dir)/$$file; \
done
## Uncomment line in handle_scripts when this is uncommented.
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1994-98, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## Run two loops here so that we can handle PRE_UNINSTALL and
## NORMAL_UNINSTALL correctly.
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
- ii=yes; \
- else ii=; fi; \
- list='$(INFO_DEPS)'; \
- for file in $$list; do \
- test -z "$ii" \
- || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
- done
+ list='$(INFO_DEPS)'; \
+ for file in $$list; do \
+ echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file"; \
+ install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
+ done; \
+ else :; fi
@$(NORMAL_UNINSTALL)
- list='$(INFO_DEPS)'; \
+ @list='$(INFO_DEPS)'; \
for file in $$list; do \
- (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
+ (if cd $(DESTDIR)$(infodir); then \
+ echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
+ rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
+ else :; fi); \
done
dist-info: $(INFO_DEPS)
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
uninstall-@DIR@LIBRARIES:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_LIBRARIES)'; for p in $$list; do \
+ @list='$(@DIR@_LIBRARIES)'; for p in $$list; do \
+ echo " rm -f $(DESTDIR)$(@DIR@dir)/$$p"; \
rm -f $(DESTDIR)$(@DIR@dir)/$$p; \
done
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1996, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1996, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@list='$(@DIR@_LISP)'; for p in $$list; do \
## A header file can be in the source directory or the build directory.
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
- echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$p"; \
- $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$p; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$f"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@DIR@dir)/$$f; \
## Only install .elc file if it exists.
if test -f $${p}c; then \
- echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(@DIR@dir)/$${p}c"; \
- $(INSTALL_DATA) $${p}c $(DESTDIR)$(@DIR@dir)/$${p}c; \
+ echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(@DIR@dir)/$${f}c"; \
+ $(INSTALL_DATA) $${p}c $(DESTDIR)$(@DIR@dir)/$${f}c; \
else : ; fi; \
done
uninstall-@DIR@LISP:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_LISP)'; for p in $$list; do \
- rm -f $(@DIR@dir)/$$p $(DESTDIR)$(@DIR@dir)/$${p}c; \
+ @list='$(@DIR@_LISP)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(@DIR@dir)/$$f $(DESTDIR)$(@DIR@dir)/$${f}c"; \
+ rm -f $(@DIR@dir)/$$f $(DESTDIR)$(@DIR@dir)/$${f}c; \
done
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
uninstall-@DIR@LTLIBRARIES:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_LTLIBRARIES)'; for p in $$list; do \
+ @list='$(@DIR@_LTLIBRARIES)'; for p in $$list; do \
+ echo " @LIBTOOL --mode=uninstall@ rm -f $(DESTDIR)$(@DIR@dir)/$$p"; \
@LIBTOOL --mode=uninstall@ rm -f $(DESTDIR)$(@DIR@dir)/$$p; \
done
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(m4datadir)
@list='$(m4data_DATA)'; for p in $$list; do \
- if test -f $(srcdir)/$$p; then \
- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(m4datadir)/$$p"; \
- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(m4datadir)/$$p; \
- else if test -f $$p; then \
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(m4datadir)/$$p"; \
- $(INSTALL_DATA) $$p $(DESTDIR)$(m4datadir)/$$p; \
- fi; fi; \
+ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(m4datadir)/$$f"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(m4datadir)/$$f; \
done
uninstall-m4dataDATA:
@$(NORMAL_UNINSTALL)
- list='$(m4data_DATA)'; for p in $$list; do \
- rm -f $(DESTDIR)$(m4datadir)/$$p; \
+ @list='$(m4data_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(m4datadir)/$$f"; \
+ rm -f $(DESTDIR)$(m4datadir)/$$f; \
done
tags: TAGS
TAGS:
.PHONY: uninstall-m4dataDATA install-m4dataDATA tags distdir info-am \
info dvi-am dvi check check-am installcheck-am installcheck \
install-exec-am install-exec install-data-am install-data install-am \
-install uninstall-am uninstall all-redirect all-am all installdirs \
-mostlyclean-generic distclean-generic clean-generic \
+install uninstall-am uninstall all-redirect all-am all install-strip \
+installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
uninstall-@DIR@PROGRAMS:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_PROGRAMS)'; for p in $$list; do \
- rm -f $(DESTDIR)$(@DIR@dir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`; \
+ @list='$(@DIR@_PROGRAMS)'; for p in $$list; do \
+ file="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
+ echo " rm -f $(DESTDIR)$(@DIR@dir)/$$file"; \
+ rm -f $(DESTDIR)$(@DIR@dir)/$$file; \
done
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
uninstall-@DIR@SCRIPTS:
@$(NORMAL_UNINSTALL)
- list='$(@DIR@_SCRIPTS)'; for p in $$list; do \
- rm -f $(DESTDIR)$(@DIR@dir)/`echo $$p|sed '$(transform)'`; \
+ @list='$(@DIR@_SCRIPTS)'; for p in $$list; do \
+ file="`echo $$p|sed '$(transform)'`"; \
+ echo " rm -f $(DESTDIR)$(@DIR@dir)/$$file"; \
+ rm -f $(DESTDIR)$(@DIR@dir)/$$file; \
done
## Uncomment line in handle_scripts when this is uncommented.
-@set UPDATED 22 March 1999
+@set UPDATED 25 March 1999
@set EDITION 1.4a
@set VERSION 1.4a
.PHONY: tags distdir check-TESTS info-am info dvi-am dvi check check-am \
installcheck-am installcheck install-exec-am install-exec \
install-data-am install-data install-am install uninstall-am uninstall \
-all-redirect all-am all installdirs mostlyclean-generic \
+all-redirect all-am all install-strip installdirs mostlyclean-generic \
distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+## Copyright (C) 1994-98, 1999 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## Run two loops here so that we can handle PRE_UNINSTALL and
## NORMAL_UNINSTALL correctly.
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
- ii=yes; \
- else ii=; fi; \
- list='$(INFO_DEPS)'; \
- for file in $$list; do \
- test -z "$ii" \
- || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
- done
+ list='$(INFO_DEPS)'; \
+ for file in $$list; do \
+ echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file"; \
+ install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
+ done; \
+ else :; fi
@$(NORMAL_UNINSTALL)
- list='$(INFO_DEPS)'; \
+ @list='$(INFO_DEPS)'; \
for file in $$list; do \
- (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
+ (if cd $(DESTDIR)$(infodir); then \
+ echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
+ rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
+ else :; fi); \
done
dist-info: $(INFO_DEPS)
-@set UPDATED 22 March 1999
+@set UPDATED 25 March 1999
@set EDITION 1.4a
@set VERSION 1.4a