Simplify the build system, and remove 2 phases
[ghc-hetmet.git] / rules / hs-suffix-rules-srcdir.mk
index 168a880..7e9c8d3 100644 (file)
@@ -16,6 +16,8 @@ define hs-suffix-rules-srcdir
 
 # Preprocessing Haskell source
 
+ifneq "$$(BINDIST)" "YES"
+
 ifneq "$$(BootingFromHc)" "YES"
 
 $1/$2/build/%.hs : $1/$4/%.ly | $$$$(dir $$$$@)/.
@@ -85,5 +87,7 @@ $1/$2/build/%_stub.$$($3_osuf): $1/$2/build/%.$$($3_osuf)
        @:
 endif
 
+endif
+
 endef