X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=Makefile;h=9de6247a98c771b415137bd968217e88eee96b3d;hp=112d8bb58c4bfc9b413501f6c5f76ca5441284d0;hb=a61dd3428431dfa53a17e98a1bea98ee51ac48b6;hpb=b07a2716cc0cfe0ed4c5faad2289b85fe9bd3938 diff --git a/Makefile b/Makefile index 112d8bb..9de6247 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,7 @@ binary-dist :: echo Making $$way documentation in $$dir && \ $(MAKE) -C $$dir --no-print-directory $(MFLAGS) $$way >.doclog 2>&1 && \ if [ "$$way" = "html" ]; then \ - for subdir in `perl -n -e '/output will be in ([_\-A-Za-z0-9]*)/ && do { print $$1; };' <.doclog`; do \ + for subdir in `perl -n -e '/output will be in ([_\-A-Za-z0-9]*)/ && do { print "$$1 "; };' <.doclog`; do \ echo Copying HTML docs from $$subdir...; \ cp -Rf $$dir/$$subdir $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/$$way; \ done \