## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+## Copyright 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
## 02111-1307, USA.
install-@DIR@LIBRARIES: $(@DIR@_LIBRARIES)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(@DIR@dir)
+ $(mkinstalldirs) $(DESTDIR)$(@NDIR@dir)
## Funny invocation because Makefile variable can be empty, leading to
## a syntax error in sh.
- list='$(@DIR@_LIBRARIES)'; for p in $$list; do \
+ @list='$(@DIR@_LIBRARIES)'; for p in $$list; do \
if test -f $$p; then \
- echo " $(INSTALL_DATA) $$p $(@DIR@dir)/$$p"; \
- $(INSTALL_DATA) $$p $(@DIR@dir)/$$p; \
+ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(@NDIR@dir)/$$p"; \
+ $(INSTALL_DATA) $$p $(DESTDIR)$(@NDIR@dir)/$$p; \
else :; fi; \
done
## We do two loops here so that $(POST_INSTALL) can be empty. If we
@list='$(@DIR@_LIBRARIES)'; for p in $$list; do \
if test -f $$p; then \
## Must ranlib after installing because mod time changes.
- echo " $(RANLIB) $(@DIR@dir)/$$p"; \
- $(RANLIB) $(@DIR@dir)/$$p; \
+ echo " $(RANLIB) $(DESTDIR)$(@NDIR@dir)/$$p"; \
+ $(RANLIB) $(DESTDIR)$(@NDIR@dir)/$$p; \
else :; fi; \
done
uninstall-@DIR@LIBRARIES:
- $(NORMAL_UNINSTALL)
- list='$(@DIR@_LIBRARIES)'; for p in $$list; do \
- rm -f $(@DIR@dir)/$$p; \
+ @$(NORMAL_UNINSTALL)
+ @list='$(@DIR@_LIBRARIES)'; for p in $$list; do \
+ echo " rm -f $(DESTDIR)$(@NDIR@dir)/$$p"; \
+ rm -f $(DESTDIR)$(@NDIR@dir)/$$p; \
done