Changeset 397 for python


Ignore:
Timestamp:
Mar 21, 2014, 11:02:52 PM (11 years ago)
Author:
dmik
Message:

python: Remove one minor bird-like hack and add another one.

This is to keep the sources clean (ready for merging/pushing upstream).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/trunk/Makefile.pre.in

    r391 r397  
    625625
    626626$(AST_H): $(AST_ASDL) $(ASDLGEN_FILES)
    627 ifndef BOOTSTRAPPING_PYTHON
    628627        $(MKDIR_P) $(AST_H_DIR)
    629628        $(ASDLGEN) -h $(AST_H_DIR) $(AST_ASDL)
    630 endif
    631629
    632630$(AST_C): $(AST_ASDL) $(ASDLGEN_FILES)
    633 ifndef BOOTSTRAPPING_PYTHON
    634631        $(MKDIR_P) $(AST_C_DIR)
    635632        $(ASDLGEN) -c $(AST_C_DIR) $(AST_ASDL)
    636 endif
    637633
    638634Python/compile.o Python/symtable.o Python/ast.o: $(GRAMMAR_H) $(AST_H)
     
    880876        -rm -f $(DESTDIR)$(LIBPC)/python.pc
    881877        (cd $(DESTDIR)$(LIBPC); $(LN) -s python2.pc python.pc)
     878ifneq ($(filter os2emx os2knix,$(MACHDEP)),) # bird-like hack!
    882879        rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
    883880        $(INSTALL_PROGRAM) $(BUILDPYTHON) $(DESTDIR)$(BINDIR)/$(PYTHON); \
    884881        $(INSTALL_DATA) $(LDLIBRARY) $(DLLLIBRARY) $(DESTDIR)$(LIBDIR); \
     882endif
    885883
    886884# Install the interpreter with $(VERSION) affixed
Note: See TracChangeset for help on using the changeset viewer.