Make include file paths a little prettier
authorIan Lynagh <igloo@earth.li>
Wed, 16 Mar 2011 16:20:45 +0000 (16:20 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 16 Mar 2011 16:20:45 +0000 (16:20 +0000)
This isn't important, but it stops us getting [...]/./[...] in the paths
in bindists.

includes/ghc.mk

index 8411a26..8d4fd47 100644 (file)
@@ -27,6 +27,8 @@ includes_H_SUBDIRS += rts/storage
 includes_H_SUBDIRS += stg
 
 includes_H_FILES := $(wildcard $(patsubst %,includes/%/*.h,$(includes_H_SUBDIRS)))
 includes_H_SUBDIRS += stg
 
 includes_H_FILES := $(wildcard $(patsubst %,includes/%/*.h,$(includes_H_SUBDIRS)))
+# This isn't necessary, but it makes the paths look a little prettier
+includes_H_FILES := $(subst /./,/,$(includes_H_FILES))
 
 #
 # Options
 
 #
 # Options