packages feed

HNM-0.1: Makefile

DIST_PRE = HNM
TODAY = $(shell date +%Y%m%d)
VERSION = $(./version)
DIST_NAME = $(DIST_PRE)-$(VERSION)


.PHONY: all configure build install dist clean

default all: configure build

configure:
	runhaskell Setup.hs configure

build:
	runhaskell Setup.hs build

install:
	runhaskell Setup.hs install

dist:
	cabal sdist

clean:
	-runhaskell Setup.hs clean
	-rm -rf dist
	$(MAKE) -C test clean

setup: Setup.lhs
	ghc --make -package Cabal -o setup Setup.hs