more build and distrib stuff

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-06-13 03:34:27 +00:00
parent 1dea0a08fe
commit 27e4c09614
3 changed files with 29 additions and 2 deletions

View File

@@ -38,8 +38,8 @@ __version__.py: ../distrib/build.py build.cfg
else:
DEFAULTRULE = 'default: $(GENCODEDIR) helperlib $(TARGET) $(BUILDDIR)/$(TARGET) bldpycfiles'
OTHERINSTALLTARGETS = 'installLib installHelpers '
OTHERUNINSTALLTARGETS = 'uninstallLib uninstallHelpers '
OTHERINSTALLTARGETS = 'installLib installDemo installHelpers '
OTHERUNINSTALLTARGETS = 'uninstallLib uninstallDemo uninstallHelpers '
#OTHERLFLAGS = '-L. '
OTHERRULES = """
@@ -83,11 +83,36 @@ installLib:
$(EXECPREFIX)/bin/python $(PYLIB)/compileall.py $(TARGETDIR); \\
$(EXECPREFIX)/bin/python -O $(PYLIB)/compileall.py $(TARGETDIR);
installDemo:
mkdir $(TARGETDIR)/demo; \\
mkdir $(TARGETDIR)/demo/bitmaps; \\
mkdir $(TARGETDIR)/demo/data; \\
cp ../demo/*.py $(TARGETDIR)/demo; \\
cp ../demo/*.xml $(TARGETDIR)/demo; \\
cp ../demo/*.txt $(TARGETDIR)/demo; \\
cp ../demo/bitmaps/*.bmp $(TARGETDIR)/demo/bitmaps; \\
cp ../demo/bitmaps/*.ico $(TARGETDIR)/demo/bitmaps; \\
cp ../demo/bitmaps/*.gif $(TARGETDIR)/demo/bitmaps; \\
cp ../demo/bitmaps/*.png $(TARGETDIR)/demo/bitmaps; \\
cp ../demo/bitmaps/*.jpg $(TARGETDIR)/demo/bitmaps; \\
cp ../demo/data/*.png $(TARGETDIR)/demo/data; \\
cp ../demo/data/*.htm $(TARGETDIR)/demo/data; \\
cp ../demo/data/*.bmp $(TARGETDIR)/demo/data; \\
cp ../demo/data/*.txt $(TARGETDIR)/demo/data; \\
cp ../demo/data/*.i $(TARGETDIR)/demo/data; \\
cp ../demo/data/*.h $(TARGETDIR)/demo/data; \\
$(EXECPREFIX)/bin/python $(PYLIB)/compileall.py $(TARGETDIR)/demo;\\
$(EXECPREFIX)/bin/python -O $(PYLIB)/compileall.py $(TARGETDIR)/demo;
uninstallLib:
rm -rf $(TARGETDIR)/lib;
uninstallDemo:
rm -rf $(TARGETDIR)/demo;
uninstallHelpers:
rm -f $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)