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
a2fc1c8b
Commit
a2fc1c8b
authored
20 years ago
by
Isaac Potoczny-Jones
Browse files
Options
Downloads
Patches
Plain Diff
added hugs bootstrap and install targets
parent
469466d4
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
Makefile
+14
-0
14 additions, 0 deletions
Makefile
Setup.lhs
+1
-1
1 addition, 1 deletion
Setup.lhs
TODO
+3
-0
3 additions, 0 deletions
TODO
with
18 additions
and
1 deletion
Makefile
+
14
−
0
View file @
a2fc1c8b
...
...
@@ -33,6 +33,19 @@ build-stamp: config
install
:
build-stamp
./setup
install
$(
USER_FLAG
)
hugsbootstrap
:
rm
-rf
dist/tmp
mkdir
-p
dist/tmp
mkdir
dist/hugs
cp
-r
Distribution Compat dist/tmp
hugs-package dist/tmp dist/hugs
cp
Setup.lhs Setup.description dist/hugs
hugsinstall
:
hugsbootstrap
cd
dist/hugs
&&
./Setup.lhs configure
--hugs
cd
dist/hugs
&&
./Setup.lhs build
cd
dist/hugs
&&
./Setup.lhs
install
# Lame for now. I don't mind though, because cabal itself should be
# able to do this soon. Needs cpphs.
haddock
:
...
...
@@ -69,6 +82,7 @@ clean-cabal:
-
rm
-f
library-infrastructure--darcs.tar.gz
-
rm
-rf
setup
*
.o
*
.hi moduleTest dist installed-pkg-config
-
rm
-f
build-stamp
-
rm
-rf
dist/hugs
clean-hunit
:
-
rm
-f
hunit-stamp hunitInstall-stamp
...
...
This diff is collapsed.
Click to expand it.
Setup.lhs
+
1
−
1
View file @
a2fc1c8b
#!/usr/bin/runhugs
#!/usr/bin/runhugs
-98
>
module
Main
where
...
...
This diff is collapsed.
Click to expand it.
TODO
+
3
−
0
View file @
a2fc1c8b
* misc
** give usage message before erroring when no description file?
** give better error message for missing description file
** unregistering the package, etc
*** think about HC-PKG's role here. maybe HC-PKG should do all this
...
...
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