summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-05-13 17:38:18 +0000
committerIan Lynagh <igloo@earth.li>2007-05-13 17:38:18 +0000
commitd81eedc942376d81428293a67e99a80676222e39 (patch)
tree76a741d4be2c0db197d57a18a76e7c775e2c8c3c /mk
parent0fef954527222d451cb437bb28731f041a301289 (diff)
downloadhaskell-d81eedc942376d81428293a67e99a80676222e39.tar.gz
Remove non-functional uninstall Makefile target
Diffstat (limited to 'mk')
-rw-r--r--mk/target.mk40
1 files changed, 3 insertions, 37 deletions
diff --git a/mk/target.mk b/mk/target.mk
index 32eb7e39f9..155e7bd438 100644
--- a/mk/target.mk
+++ b/mk/target.mk
@@ -15,7 +15,7 @@
#
# 2. GNU standard targets
# all*
-# install* uninstall installcheck installdirs
+# install* installcheck installdirs
# install-docs*
# clean* distclean* mostlyclean* maintainer-clean*
# tags*
@@ -134,11 +134,6 @@ endif
# will ignore any errors. This is in case there are systems that
# don't have the Unix man page documentation system installed.
#
-# `uninstall'
-# Delete all the installed files that the `install' target would
-# create (but not the noninstalled files such as `make all' would
-# create).
-#
# `clean'
#
# Delete all files from the current directory that are normally
@@ -625,7 +620,7 @@ endif # LINK
###########################################
#
-# Targets: install install-strip uninstall
+# Targets: install install-strip
#
###########################################
@@ -647,7 +642,7 @@ endif # LINK
# friends can be overridden from their original settings in mk/config.mk.in
# || mk/build.mk
#
-.PHONY: install install-docs installdirs install-strip install-dirs uninstall install-docs show-install
+.PHONY: install install-docs installdirs install-strip install-dirs install-docs show-install
show-install :
@echo "bindir = $(bindir)"
@@ -838,35 +833,6 @@ endif
endif
#
-# Use with care..
-#
-uninstall::
- @for i in $(INSTALL_PROGS) "" ; do \
- if test "$$i"; then \
- echo rm -f $(bindir)/`basename $$i`; \
- rm -f $(bindir)/`basename $$i`; \
- fi; \
- done
- @for i in $(INSTALL_LIBS) ""; do \
- if test "$$i"; then \
- echo rm -f $(libdir)/`basename $$i`; \
- rm -f $(libdir)/`basename $$i`; \
- fi; \
- done
- @for i in $(INSTALL_LIBEXECS) ""; do \
- if test "$$i"; then \
- echo rm -f $(libexecdir)/`basename $$i`; \
- rm -f $(libexecdir)/`basename $$i`; \
- fi; \
- done
- @for i in $(INSTALL_DATAS) ""; do \
- if test "$$i"; then \
- echo rm -f $(datadir)/`basename $$i`; \
- rm -f $(datadir)/`basename $$i`; \
- fi; \
- done
-
-#
# install-strip is from the GNU Makefile standard.
#
ifneq "$(way)" ""