Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
c99385d6
Commit
c99385d6
authored
20 years ago
by
Isaac Potoczny-Jones
Browse files
Options
Downloads
Patches
Plain Diff
removed unnecessary configure-before-sdist
parent
0655125f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Distribution/Simple.hs
+1
-2
1 addition, 2 deletions
Distribution/Simple.hs
Distribution/Simple/SrcDist.hs
+2
-2
2 additions, 2 deletions
Distribution/Simple/SrcDist.hs
TODO
+0
-4
0 additions, 4 deletions
TODO
with
3 additions
and
8 deletions
Distribution/Simple.hs
+
1
−
2
View file @
c99385d6
...
...
@@ -144,8 +144,7 @@ defaultMainNoRead pkg_descr
SDistCmd
->
do
(
_
,
args
)
<-
parseSDistArgs
args
[]
no_extra_flags
args
localbuildinfo
<-
getPersistBuildConfig
sdist
srcPref
distPref
knownSuffixHandlers
pkg_descr
localbuildinfo
sdist
srcPref
distPref
knownSuffixHandlers
pkg_descr
RegisterCmd
uInst
->
do
(
uInst
,
_
,
args
)
<-
parseRegisterArgs
uInst
args
[]
...
...
This diff is collapsed.
Click to expand it.
Distribution/Simple/SrcDist.hs
+
2
−
2
View file @
c99385d6
...
...
@@ -69,8 +69,8 @@ sdist :: FilePath -- ^build prefix (temp dir)
->
FilePath
-- ^TargetPrefix
->
[
PPSuffixHandler
]
-- ^ extra preprocessors (includes suffixes)
->
PackageDescription
->
LocalBuildInfo
->
IO
()
sdist
tmpDir
targetPref
pps
pkg_descr
_
=
do
->
IO
()
sdist
tmpDir
targetPref
pps
pkg_descr
=
do
setupMessage
"Building source dist for"
pkg_descr
ex
<-
doesDirectoryExist
tmpDir
when
ex
(
die
$
"Source distribution already in place. please move: "
++
tmpDir
)
...
...
This diff is collapsed.
Click to expand it.
TODO
+
0
−
4
View file @
c99385d6
** sdist probably doesn't look in the right place, doesn't put in the
files for executables
** where are we using allModules, is this the right place?
** move some of the junk in Utils up one level, then use currentDir =
...
...
@@ -16,7 +13,6 @@
- if there's a flag, --include-preprocessed-sources (or something
better) run the preprocessing phase and include both the
unpreprocessed and the preprocessed sources in the source tarball?
- why does it need configure first?
** clarify description filename issues
- allow foo.hsproj?
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment