When linking a shared library with --make, always do the link step
[ghc-hetmet.git] / utils / touchy / Makefile
index d2430df..a88606a 100644 (file)
@@ -1,3 +1,15 @@
+# -----------------------------------------------------------------------------
+#
+# (c) 2009 The University of Glasgow
+#
+# This file is part of the GHC build system.
+#
+# To understand how the build system works and how to modify it, see
+#      http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
+#      http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
+#
+# -----------------------------------------------------------------------------
+
 #
 # Substitute for 'touch' on win32 platforms (without an Unix toolset installed).
 #
@@ -18,3 +30,8 @@ include $(TOP)/mk/target.mk
 # Get it over with!
 boot :: all
 
+binary-dist:
+       $(INSTALL_DIR)               $(BIN_DIST_DIR)/utils/touchy
+       $(INSTALL_DATA)    Makefile  $(BIN_DIST_DIR)/utils/touchy/
+       $(INSTALL_PROGRAM) $(C_PROG) $(BIN_DIST_DIR)/utils/touchy/
+