Copy LICENSE files into the bindist, as Cabal now installs them
authorIan Lynagh <igloo@earth.li>
Tue, 28 Aug 2007 13:04:28 +0000 (13:04 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 28 Aug 2007 13:04:28 +0000 (13:04 +0000)
libraries/Makefile

index 35dc5b9..0f237bc 100644 (file)
@@ -347,6 +347,7 @@ binary-dist.library.%:
        if ifBuildable/ifBuildable $*; then \
          cd $* && \
          cp    $*.cabal      $(BIN_DIST_LIBDIR)/$* && \
+         cp    LICENSE       $(BIN_DIST_LIBDIR)/$* && \
          cp -a dist          $(BIN_DIST_LIBDIR)/$* && \
          (cp -aL include      $(BIN_DIST_LIBDIR)/$* || :) && \
          $(FIND) $(BIN_DIST_LIBDIR)/$*/dist \