From 27216c2d63b3f2d9fe043a7a0c6ee725395d7aa4 Mon Sep 17 00:00:00 2001 From: Lennart Kolmodin Date: Wed, 2 Oct 2024 06:52:37 +0200 Subject: [PATCH] Fix Paths_MicroHs Use "echo -e" to enable interpreting the backslash escapes. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 999e41f1..e31bebfb 100644 --- a/Makefile +++ b/Makefile @@ -203,7 +203,7 @@ BASEMODULES=Control.Applicative Control.Arrow Control.Category Control.DeepSeq C $(MCABALBIN)/mhs: bin/mhs @mkdir -p $(MCABALBIN) @mkdir -p $(MDIST) - @echo 'module Paths_MicroHs where {\nimport Prelude();\nimport MHSPrelude;\nimport Data.Version;\nversion :: Version; version = makeVersion [$(HVERSION)];\ngetDataDir :: IO FilePath;\ngetDataDir = return "$(MDATA)"\n}' > $(MDIST)/Paths_MicroHs.hs + @echo -e 'module Paths_MicroHs where {\nimport Prelude();\nimport MHSPrelude;\nimport Data.Version;\nversion :: Version; version = makeVersion [$(HVERSION)];\ngetDataDir :: IO FilePath;\ngetDataDir = return "$(MDATA)"\n}' > $(MDIST)/Paths_MicroHs.hs bin/mhs -z $(MHSINCNP) -i$(MDIST) MicroHs.Main -o$(MCABALBIN)/mhs $(MCABALBIN)/cpphs: bin/cpphs