Skip to content

Commit

Permalink
Tranform info an fptools-ready package
Browse files Browse the repository at this point in the history
The fptools version of this package needs different Makefiles, so add
them and remove the original GNUmakefiles.
  • Loading branch information
Simon Marlow committed Jan 13, 2006
1 parent d671da0 commit 7763e15
Show file tree
Hide file tree
Showing 7 changed files with 91 additions and 185 deletions.
180 changes: 0 additions & 180 deletions GNUmakefile

This file was deleted.

24 changes: 24 additions & 0 deletions Makefile
@@ -0,0 +1,24 @@
TOP=..
include $(TOP)/mk/boilerplate.mk

SUBDIRS = doc

ALL_DIRS = \
Distribution \
Distribution/Simple \
Distribution/PreProcess \
Distribution/Compat \
Language/Haskell

EXCLUDED_SRCS = DefaultSetup.lhs

PACKAGE = Cabal
VERSION = 1.0

PACKAGE_DEPS = base

SRC_HADDOCK_OPTS += -t "Haskell Core Libraries (Cabal package)"

SRC_HC_OPTS += -cpp

include $(TOP)/mk/target.mk
7 changes: 7 additions & 0 deletions Makefile.inc
@@ -0,0 +1,7 @@
ifeq "" "${MKDIR}"
MKDIR:=$(shell pwd)
#MKDIR:=$(PWD)
else
MKDIR:=$(patsubst %/$(notdir ${MKDIR}),%, ${MKDIR})
endif
include ${MKDIR}/Makefile.inc
46 changes: 46 additions & 0 deletions Makefile.nhc98
@@ -0,0 +1,46 @@
# Hey Emacs, this is a -*- makefile -*- !

THISPKG = Cabal
SEARCH = -package base
EXTRA_H_FLAGS = -K4M
EXTRA_HBC_FLAGS = -H80M -A4M

SRCS = \
Distribution/Extension.hs \
Distribution/GetOpt.hs \
Distribution/InstalledPackageInfo.hs \
Distribution/License.hs \
Distribution/Make.hs \
Distribution/Package.hs \
Distribution/PackageDescription.hs \
Distribution/ParseUtils.hs \
Distribution/PreProcess.hs \
Distribution/Setup.hs \
Distribution/Simple.hs \
Distribution/Version.hs \
\
Distribution/Compat/Directory.hs \
Distribution/Compat/Exception.hs \
Distribution/Compat/FilePath.hs \
Distribution/Compat/RawSystem.hs \
Distribution/Compat/ReadP.hs \
\
Distribution/PreProcess/Unlit.hs \
\
Distribution/Simple/Build.hs \
Distribution/Simple/Configure.hs \
Distribution/Simple/GHCPackageConfig.hs \
Distribution/Simple/Install.hs \
Distribution/Simple/LocalBuildInfo.hs \
Distribution/Simple/Register.hs \
Distribution/Simple/SrcDist.hs \
Distribution/Simple/Utils.hs \


# Here are the main rules.
include ../Makefile.common

# Here are any extra dependencies.

# C-files dependencies.

5 changes: 0 additions & 5 deletions doc/GNUmakefile

This file was deleted.

7 changes: 7 additions & 0 deletions doc/Makefile
@@ -0,0 +1,7 @@
TOP = ../..
include $(TOP)/mk/boilerplate.mk

XML_DOC = Cabal
INSTALL_XML_DOC = $(XML_DOC)

include $(TOP)/mk/target.mk
7 changes: 7 additions & 0 deletions prologue.txt
@@ -0,0 +1,7 @@
The Haskell Cabal is the Common Architecture for Building Applications
and Libraries. It is a framework which defines a common interface for
authors to more easily build their applications in a portable way. The
Haskell Cabal is meant to be a part of a larger infrastructure for
distributing, organizing, and cataloging Haskell Libraries and
Tools. For more information, please see:
<http://www.haskell.org/cabal/>.

0 comments on commit 7763e15

Please sign in to comment.