From 72b0054931cd0d41477fa7270154cb53d8e94e4d Mon Sep 17 00:00:00 2001 From: Nathan Collins Date: Tue, 12 Jun 2012 00:53:35 -0700 Subject: [PATCH] Get ready for a simple git-annex.cabal. I have a new idea: instead of the template-based approaches that work around cabals requirement that you list all files to put in the sdist, we can simply generate the sdist ourselves, with the files we want. Take that cabal! --- gen-other-modules.sh | 32 ------------------- ...annex.cabal.template.sh => git-annex.cabal | 0 2 files changed, 32 deletions(-) delete mode 100755 gen-other-modules.sh rename git-annex.cabal.template.sh => git-annex.cabal (100%) diff --git a/gen-other-modules.sh b/gen-other-modules.sh deleted file mode 100755 index 3c50d91e73..0000000000 --- a/gen-other-modules.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# Generate module list for 'Other-Modules:' field in git-annex.cabal. -# This would be simpler if the code were under ./src. - -find Annex Annex.hs \ - Backend Backend.hs \ - Build \ - Checks.hs \ - CmdLine.hs \ - Command Command.hs \ - Common Common.hs \ - Config.hs \ - Crypto.hs \ - Git Git.hs \ - GitAnnex.hs \ - GitAnnexShell.hs \ - Init.hs \ - Limit.hs \ - Locations.hs \ - Logs \ - Messages Messages.hs \ - Option.hs \ - Remote Remote.hs \ - Seek.hs \ - Setup.hs \ - Types Types.hs \ - Upgrade Upgrade.hs \ - Usage.hs \ - Utility \ - -name '*.hs' \ -| sed -r -e 's!.hs!!' -e 's!/!.!g' diff --git a/git-annex.cabal.template.sh b/git-annex.cabal similarity index 100% rename from git-annex.cabal.template.sh rename to git-annex.cabal