- ifBuildable/ifBuildable $* cp $*.cabal $(BIN_DIST_LIBDIR)/$*
- ifBuildable/ifBuildable $* cp -a dist $(BIN_DIST_LIBDIR)/$*
- # Euch
- ifBuildable/ifBuildable $* cp -aL include $(BIN_DIST_LIBDIR)/$* || :
- ifBuildable/ifBuildable $* $(FIND) $(BIN_DIST_LIBDIR)/$*/dist \
- \( -name "*_split" -o -name "autogen" \) | xargs rm -rf
- ifBuildable/ifBuildable $* $(FIND) $(BIN_DIST_LIBDIR)/$*/dist \
+ if ifBuildable/ifBuildable $*; then \
+ cd $* && \
+ cp $*.cabal $(BIN_DIST_LIBDIR)/$* && \
+ cp -a dist $(BIN_DIST_LIBDIR)/$* && \
+ (cp -aL include $(BIN_DIST_LIBDIR)/$* || :) && \
+ $(FIND) $(BIN_DIST_LIBDIR)/$*/dist \
+ \( -name "*_split" -o -name "autogen" \) | xargs rm -rf && \
+ $(FIND) $(BIN_DIST_LIBDIR)/$*/dist \