summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-01-14 20:59:45 +0000
committerIan Lynagh <igloo@earth.li>2009-01-14 20:59:45 +0000
commitd95828709dd5e7e1d7e2e1eab8ef34a3a65e7d2f (patch)
treed65f69e770222c125876ee0da05a5a8c9956292d /Makefile
parentbf7f8200224b99c770f81d85f728db41b2d024bc (diff)
downloadhaskell-d95828709dd5e7e1d7e2e1eab8ef34a3a65e7d2f.tar.gz
Fix "make install": Put "[]" in the install package.conf
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 80f8b3f929..e86ec5a992 100644
--- a/Makefile
+++ b/Makefile
@@ -209,6 +209,8 @@ install-strip:
# Same as default rule, but we pass $(INSTALL_STAGE) to $(MAKE) too
install :: check-packages
+ $(MKDIRHIER) $(DESTDIR)$(datadir)
+ echo "[]" > $(DESTDIR)$(datadir)/package.conf
@case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \
for i in $(SUBDIRS); do \
echo "------------------------------------------------------------------------"; \