Skip to content

Commit

Permalink
Fix Paths_MicroHs
Browse files Browse the repository at this point in the history
Use "echo -e" to enable interpreting the backslash escapes.
  • Loading branch information
kolmodin authored Oct 2, 2024
1 parent 73f0230 commit 27216c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27216c2

Please sign in to comment.