Ticket #47833: patch-src-MacVim-icons-python.diff

File patch-src-MacVim-icons-python.diff, 661 bytes (added by harciga, 9 years ago)
  • src/MacVim/icons/Makefile

    old new  
    11.PHONY: clean getenvy
    22
     3PYTHON ?= /usr/bin/python
    34OUTDIR ?= .
    45
    56# This script is called during the build phase with OUTDIR set to the Resources
     
    2122all: make_icons.py vim-noshadow-512.png loadfont.so
    2223        rm -f MacVim-*.icns
    2324        $(MAKE) -C makeicns
    24         /usr/bin/python make_icons.py "$(OUTDIR)"
     25        $(PYTHON) make_icons.py "$(OUTDIR)"
    2526
    2627loadfont.so: loadfont.c
    27         /usr/bin/python setup.py install --install-lib .
     28        $(PYTHON) setup.py install --install-lib .
    2829
    2930getenvy: Envy\ Code\ R\ Bold.ttf
    3031