From 5a7faf1e02ef2b640dc08516f1c2f56edb1004ea Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 28 Aug 2000 18:34:35 +0000 Subject: [PATCH] make clean shouldn't delete lib/CVS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- Makefile.in | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index c9a8436f74..5d3720b476 100644 --- a/Makefile.in +++ b/Makefile.in @@ -532,10 +532,13 @@ ALL_DIST: distclean # but is not used when building wxBase distribution ALL_GUI_DIST: ALL_DIST cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR) + cp $(WXDIR)/wxBase.spec $(DISTDIR) cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt + cp $(DOCDIR)/base/todo.txt $(DISTDIR)/wxBASE.todo + cp $(DOCDIR)/base/install.txt $(DISTDIR)/wxBASE.install mkdir $(DISTDIR)/include mkdir $(DISTDIR)/include/wx mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR) @@ -604,13 +607,15 @@ BASE_DIST: ALL_DIST cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@ cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@ cp $(WXDIR)/@RPM_SPEC@ $(DISTDIR)/@RPM_SPEC@ - cp $(WXDIR)/wxBase.dsp $(DISTDIR) - cp $(DOCDIR)/install.txt $(DISTDIR)/INSTALL.txt + cp $(WXDIR)/wxBase*.ds[pw] $(DISTDIR) + cp $(DOCDIR)/base/install.txt $(DISTDIR)/INSTALL.txt cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt - cp $(DOCDIR)/todo.txt $(DISTDIR)/TODO.txt + cp $(DOCDIR)/base/todo.txt $(DISTDIR)/TODO.txt cp $(SRCDIR)/*.in $(DISTDIR)/src - cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common/unzip.h + cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common + cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common + cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common list='$(HEADERS)'; for p in $$list; do \ cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \ done @@ -618,8 +623,18 @@ BASE_DIST: ALL_DIST cp $(WXDIR)/src/$$p $(DISTDIR)/src/$$p; \ done + mkdir $(DISTDIR)/samples + cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples + cp $(SAMPDIR)/configure $(DISTDIR)/samples + cp $(SAMPDIR)/configure.in $(DISTDIR)/samples + + mkdir $(DISTDIR)/samples/console + cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console + cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console + cp $(SAMPDIR)/console/console.cpp $(DISTDIR)/samples/console + cp $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console + GTK_DIST: ALL_GUI_DIST - cp $(WXDIR)/wxGTK.spec $(DISTDIR) cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk @@ -1273,6 +1288,7 @@ clean: $(RM) *.d $(RM) parser.c $(RM) lexer.c - $(RM) -r ./lib/* + $(RM) ./lib/* + $(RM) -r ./lib/wx/* cleanall: clean