diff --git a/Makefile b/Makefile index 6b122f7..b10b4b0 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,9 @@ check: CLEAN_FILES += *.conf.*.old *~ +EXTRA_CLEANS+=*.conf.inplace* *.conf.in *.h autom4te.cache \ + config.h config.mk config.log config.status + clean: cd docs && $(MAKE) clean runhaskell Setup.hs clean 2> /dev/null || true @@ -63,11 +66,6 @@ clean: rm -rf examples/hmake/lib-plugs/plugs rm -rf examples/hmake/one-shot/runplugs rm -f EvalHaskell.h - -EXTRA_CLEANS+=*.conf.inplace* *.conf.in *.h autom4te.cache \ - config.h config.mk config.log config.status - -distclean: clean rm -rf $(EXTRA_CLEANS) -include config.mk diff --git a/README b/README index 6312a0d..7524978 100644 --- a/README +++ b/README @@ -25,9 +25,9 @@ Read the documentation in doc/ for more. ------------------------------------------------------------------------ BUILDING: - $ ./configure --prefix=/usr/local - $ make - $ make install + $ runhaskell Setup.hs configure --prefix=/usr/local + $ runhaskell Setup.hs build + $ runhaskell Setup.hs install ------------------------------------------------------------------------ @@ -45,7 +45,10 @@ DEPENDENCIES: darcs get http://www.cs.chalmers.se/~d00nibro/haskell-src-exts - To get hs-plugins to use HSX, use the --enable-hsx to ./configure. + To get hs-plugins to use HSX, use: + + $ runhaskell Setup.hs configure --enable-hsx + Make sure to install HSX first though :) ------------------------------------------------------------------------