summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorDemi Obenour <demiobenour@gmail.com>2016-11-29 14:44:05 -0500
committerBen Gamari <ben@smart-cactus.org>2016-11-29 14:44:06 -0500
commit68450878b44ddb63beb3c589cd60d43461900986 (patch)
treeb92176cb2cd5a9c11d2342a65dd7db941a5a69bf /rules
parentc2268ba0eeb36a48da77ba95c72525c398c8b306 (diff)
downloadhaskell-68450878b44ddb63beb3c589cd60d43461900986.tar.gz
Purge GHC of literate Perl
Test Plan: GHC CI Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: snowleopard, thomie Maniphest Tasks: T74 Differential Revision: https://phabricator.haskell.org/D2732
Diffstat (limited to 'rules')
-rw-r--r--rules/build-perl.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/rules/build-perl.mk b/rules/build-perl.mk
index 58660fcac3..6bec7d93e7 100644
--- a/rules/build-perl.mk
+++ b/rules/build-perl.mk
@@ -13,7 +13,7 @@
# Build a perl script. Invoke like this:
#
-# driver/mangler_PERL_SRC = ghc-asm.lprl
+# driver/mangler_PERL_SRC = ghc-asm.pl
# driver/mangler_dist_PROGNAME = ghc-asm
#
# $(eval $(call build-perl,driver/mangler,dist))
@@ -50,14 +50,12 @@ $(call clean-target,$1,$2,$1/$2 $$($1_$2_INPLACE))
clean_$1 : clean_$1_$2
ifneq "$$(BINDIST)" "YES"
-$1/$2/$$($1_$2_PROG).prl: $1/$$($1_PERL_SRC) $$$$(unlit_INPLACE) | $$$$(dir $$$$@)/.
- "$$(unlit_INPLACE)" $$(UNLIT_OPTS) $$< $$@
-$1/$2/$$($1_$2_PROG): $1/$2/$$($1_$2_PROG).prl
+$1/$2/$$($1_$2_PROG): $1/$$/$$($1_PERL_SRC) $$$$(unlit_INPLACE) | $$$$(dir $$$$@)/.
$$(call removeFiles,$$@)
echo '#!$$(PERL)' >> $$@
- echo '$$$$TARGETPLATFORM = "$$(TARGETPLATFORM)";' >> $$@
- echo '$$$$TABLES_NEXT_TO_CODE = "$(GhcEnableTablesNextToCode)";' >> $$@
+ echo 'my $$$$TARGETPLATFORM = "$$(TARGETPLATFORM)";' >> $$@
+ echo 'my $$$$TABLES_NEXT_TO_CODE = "$(GhcEnableTablesNextToCode)";' >> $$@
cat $$< >> $$@
$$($1_$2_INPLACE): $1/$2/$$($1_$2_PROG) | $$$$(dir $$$$@)/.