Makefile
changeset 1320 d2181407c8bd
parent 1301 4ef2dccbddbd
child 1353 280fa3844fce
equal deleted inserted replaced
1319:d893dc8fe820 1320:d2181407c8bd
    52 COMPAT_FILE := $(emacsdir)/.emacs-ver
    52 COMPAT_FILE := $(emacsdir)/.emacs-ver
    53 
    53 
    54 ################################################################
    54 ################################################################
    55 # Build tool definition/switches.
    55 # Build tool definition/switches.
    56 
    56 
       
    57 # In order to byte-compile under Windows install Cygwin Emacs to PATH!
    57 EMACS = emacs
    58 EMACS = emacs
    58 # I prefer native Windows Emacs, so use it if available.
       
    59 ifeq 'windows' '$(host_os)'
       
    60   ifneq '' '$(call which,runemacs.exe)'
       
    61     EMACS = runemacs
       
    62   endif
       
    63 endif
       
    64 
    59 
    65 RST2HTML = rst2html
    60 RST2HTML = rst2html
    66 ifeq '$(host_os)' 'windows'
    61 ifeq '$(host_os)' 'windows'
    67   RST2HTML = rst2html.py
    62   RST2HTML = rst2html.py
    68 endif
    63 endif