|
|
|
@ -887,8 +887,6 @@ LIBSUBDIRS= lib-tk lib-tk/test lib-tk/test/test_tkinter \ |
|
|
|
lib-old \
|
|
|
|
curses pydoc_data $(MACHDEPS) |
|
|
|
libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c |
|
|
|
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
|
|
|
./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()" |
|
|
|
@for i in $(SCRIPTDIR) $(LIBDEST); \
|
|
|
|
do \
|
|
|
|
if test ! -d $(DESTDIR)$$i; then \
|
|
|
|
@ -966,6 +964,10 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c |
|
|
|
./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \
|
|
|
|
-d $(LIBDEST)/site-packages -f \
|
|
|
|
-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages |
|
|
|
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
|
|
|
./$(BUILDPYTHON) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt |
|
|
|
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
|
|
|
./$(BUILDPYTHON) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt |
|
|
|
|
|
|
|
# Create the PLATDIR source directory, if one wasn't distributed..
|
|
|
|
$(srcdir)/Lib/$(PLATDIR): |
|
|
|
@ -1203,7 +1205,7 @@ clean: pycremoval |
|
|
|
find . -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';' |
|
|
|
find build -name 'fficonfig.h' -exec rm -f {} ';' || true |
|
|
|
find build -name 'fficonfig.py' -exec rm -f {} ';' || true |
|
|
|
-rm -f $(srcdir)/Lib/lib2to3/*Grammar*.pickle |
|
|
|
-rm -f Lib/lib2to3/*Grammar*.pickle |
|
|
|
|
|
|
|
profile-removal: |
|
|
|
find . -name '*.gc??' -exec rm -f {} ';' |
|
|
|
|