Fix invalid simplification I made while moving the libraries bindist stuff
authorIan Lynagh <igloo@earth.li>
Tue, 15 May 2007 12:25:45 +0000 (12:25 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 15 May 2007 12:25:45 +0000 (12:25 +0000)
libraries/Makefile

index 94232ff..ddbb6f3 100644 (file)
@@ -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.%