From: Ian Lynagh Date: Tue, 15 May 2007 12:25:45 +0000 (+0000) Subject: Fix invalid simplification I made while moving the libraries bindist stuff X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=1cb07a46a33f4d2626bc7912e0118322198e5e72;p=ghc-hetmet.git Fix invalid simplification I made while moving the libraries bindist stuff --- diff --git a/libraries/Makefile b/libraries/Makefile index 94232ff..ddbb6f3 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -244,7 +244,8 @@ binary-dist.library.%: ifBuildable/ifBuildable $* cp $*.cabal $(BIN_DIST_LIBDIR)/$* ifBuildable/ifBuildable $* cp -a dist $(BIN_DIST_LIBDIR)/$* ifBuildable/ifBuildable $* find $(BIN_DIST_LIBDIR)/$*/dist \ - \( -name "*.o" -o -name "*.p_o" -o -name "HS*" \) -exec rm {} \; + \( \( -name "*.o" -o -name "*.p_o" \) -a ! -name "HS*" \) \ + -exec rm {} \; .PHONY: distclean clean clean.library.%