X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=libraries%2FMakefile;h=9dc67d2e6729c9dfa0a5f70613e07ff21b0e1c8a;hp=e9f90d37d753e56256cc287a5e2f723af9b75f23;hb=cea73c10e1c6fd7a874dca190d353f5eac6c7bf6;hpb=bc825482024b3d85056285f794aaaaa731da7319 diff --git a/libraries/Makefile b/libraries/Makefile index e9f90d3..9dc67d2 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -285,7 +285,9 @@ $(foreach SUBDIR,$(SUBDIRS),$(SUBDIR)/GNUmakefile):\ cd $* && setup/Setup makefile -f GNUmakefile; \ fi -.PHONY: doc +.PHONY: doc html + +html: doc doc: $(foreach SUBDIR,$(SUBDIRS),doc.library.$(SUBDIR)) sh gen_contents_index --inplace @@ -393,3 +395,10 @@ binary-dist.library.%: \( \( -name "*.o" -o -name "*.p_o" \) -a ! -name "HS*" \) \ -exec rm {} \; ; \ fi + +# Ignore some doc targets that we don't support +# The root recurses into us when these targets are made +.PHONY: html-no-chunks chm HxS fo dvi ps pdf +html-no-chunks chm HxS fo dvi ps pdf: + @: +