diff -r cf1fcdf438a0 -r ed7db6a12c2a jdk/make/mkdemo/Makefile --- a/jdk/make/mkdemo/Makefile Thu Aug 25 17:18:12 2011 -0700 +++ b/jdk/make/mkdemo/Makefile Wed Aug 31 13:48:04 2011 +0200 @@ -39,9 +39,14 @@ include $(BUILDDIR)/common/Subdirs.gmk +TOPLEVEL_FILES = \ + $(DEMODIR)/README + all build:: nbproject $(SUBDIRS-loop) +all build:: $(TOPLEVEL_FILES) + nbproject: $(RM) -r $(DEMODIR)/nbproject $(MKDIR) -p $(DEMODIR) @@ -54,8 +59,10 @@ ( $(CD) $(DEMODIR) && $(TAR) -xf - ) endif +$(DEMODIR)/%: $(DEMOSRCDIR)/% + $(install-file) + clean clobber:: $(SUBDIRS-loop) $(RM) -r $(DEMODIR) $(RM) -r $(DEMOCLASSDIR) -