X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=libraries%2FMakefile;h=43220f6854ef52e4a47d12b31475da987bd210a8;hb=66579ff945831c5fc9a17c58c722ff01f2268d76;hp=0f257dab1c0a9778723dbcd7ccf5513c013ad37b;hpb=703b1252f70b660e9ae2d33f236c1868d3dca0a9;p=ghc-hetmet.git diff --git a/libraries/Makefile b/libraries/Makefile index 0f257da..43220f6 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -17,7 +17,7 @@ # To add a new library to the tree, do # # darcs get http://darcs.haskell.org/packages/foo -# [ -e foo/configure.ac ] && ( cd foo && autoreconf ) +# [ -f foo/configure.ac ] && ( cd foo && autoreconf ) # make make.library.foo .PHONY: default_target @@ -276,8 +276,9 @@ ifneq "$(HSCOLOUR)" "" if $(IFBUILDABLE) $* && [ -d $*/dist/doc/html/*/src/ ]; then cp hscolour.css $*/dist/doc/html/*/src/; fi endif -.PHONY: distclean clean clean.library.% +.PHONY: maintainer-clean distclean clean clean.library.% +maintainer-clean: clean distclean: clean clean: $(foreach SUBDIR,$(SUBDIRS),clean.library.$(SUBDIR)) @@ -296,7 +297,7 @@ ifneq "$(wildcard dph)" "" $(MAKE) -C dph clean endif -distclean: +maintainer-clean distclean: $(RM) $(foreach lib, $(SUBDIRS), $(lib)/.depend $(lib)/.depend.bak) $(foreach SUBDIR,$(SUBDIRS),clean.library.$(SUBDIR)): \