Commit 349d3088 authored by ijones's avatar ijones
Browse files

made ugly dist rule

parent 2eba39a7
......@@ -2,11 +2,11 @@
RC:
** look carefully at "rawSystem" and error handing stuff for nhc.
** grep for "FIX"
** make sure module documentation (haddock) builds.
-- tricky because of need to preprocess :(
** add description file format to doc. - esp field descriptions
** doc
*** add description file format to doc. - esp field descriptions
*** Fix section on "why must we list hidden modules?"
** Look over rest of TODO list. Should anything be promoted?
** Fix section on "why must we list hidden modules?"
** add haddock generated stuff to .deb.
HIGH:
** Clean up field parsers:
......@@ -22,6 +22,7 @@ LOW
* 0.2
** elimintate need for cpphs in haddock makefile rule.
** It actually makes sense to have several libraries ("hs-packages")
in one package ("cabal-package"), look at wxhaskell for example.
- So, Library stanzas, I suppose
......
......@@ -30,7 +30,8 @@ build-stamp: config
install: build-stamp
./setup install $(USER_FLAG)
# FIX: doesn't work because of preprocsesing.
# Lame for now. I don't mind though, because cabal itself should be
# able to do this soon. Needs cpphs.
haddock:
rm -rf dist/doc
mkdir -p dist/doc/Distribution/Simple
......@@ -115,7 +116,14 @@ check: tests
pushall:
darcs push --all ijones@cvs.haskell.org:/home/darcs/cabal
dist: pushall
dist: pushall haddock
darcs dist
scp cabal.tar.gz ijones@www.haskell.org:~/libraryInfrastructure/libraryInfrastructure-code.tgz
rm -f cabal.tar.gz
mv cabal.tar.gz /tmp
cd /tmp && tar -zxvf cabal.tar.gz
mkdir -p /tmp/cabal/doc/html
cp -r dist/doc/html /tmp/cabal/doc/html
cd /tmp && tar -zcvf cabal-code.tgz cabal
scp /tmp/cabal-code.tgz ijones@www.haskell.org:~/cabal/cabal-code.tgz
rm -f /tmp/cabal-code.tgz
rm -f /tmp/cabal.tar.gz
rm -rf /tmp/cabal
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment