I'm trying to package a Python binding using SIP. All is working fine on 
GNU/Linux but on Windows, the "mingw32-make install" doesn't copy files if the 
destination directory already exists.

The problem seems to be in the generated Makefile:

  * Each "copy /y ..." lines placed after a "@if not exit" are skipped.
  * But if I put a blank line after the @if line, it works!

Context:

  * SIP version 4.9.3 compiled with "-p win32-g++"
  * mingw32-make version 3.81
  * Windows XP SP3


The Makefile (part of):
"""
install:
        @$(MAKE) -C build install
        @if not exist C:\Python26\sip\ mkdir C:\Python26\sip\
        copy /y test.sip C:\Python26\sip\test.sip
        @if not exist C:\Python26\Lib\site-packages\ mkdir C:\Python26\Lib\site-
packages\
        copy /y testconfig.py C:\Python26\Lib\site-packages\testconfig.py
"""

Thanks,
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to