+2011-12-06 TAMUKI Shoichi <tamuki@linet.gr.jp>
+
+ * interface/Makefile.am, interface/timidity.el,
+ interface/timidity.pel: Set the absolute path of timidity
+ in timidity.el automatically; add timidity.pel file to be
+ preprocessed, and remove timidity.el
+
2011-12-05 Hans de Goede <hdegoede@redhat.com>
* interface/tkmidity.ptcl, interface/tkpanel.tcl,
include $(top_srcdir)/common.makefile.in
-SUFFIXES = .ptcl .tcl .@so@
+SUFFIXES = .ptcl .tcl .pel .el .@so@
SUBDIRS = motif_bitmaps bitmaps pixmaps
tkpanel.tcl \
browser.tcl \
misc.tcl \
- timidity.el \
+ timidity.pel \
tclIndex
.ptcl.tcl:
sed -e 's@%TCL_DIR%@$(TCL_DIR)@g' $< > $@
+.pel.el:
+ sed -e 's@%BIN_DIR%@$(bindir)@g' $< > $@
clean:
rm -f tkmidity.tcl
rm -f *.$(OBJEXT)
DEF_SHLIB_DIR = -DSHLIB_DIR=\"$(SHLIB_DIR)\"
BITMAP_DIR = $(TCL_DIR)/bitmaps
-SUFFIXES = .ptcl .tcl .@so@
+SUFFIXES = .ptcl .tcl .pel .el .@so@
SUBDIRS = motif_bitmaps bitmaps pixmaps
tkpanel.tcl \
browser.tcl \
misc.tcl \
- timidity.el \
+ timidity.pel \
tclIndex
@ENABLE_DYNAMIC_TCLTK_TRUE@install_tk = install.tk
all: all-recursive
.SUFFIXES:
-.SUFFIXES: .ptcl .tcl .@so@ .$(so) .c .o .obj
+.SUFFIXES: .ptcl .tcl .pel .el .@so@ .$(so) .c .o .obj
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/common.makefile.in $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu interface/Makefile
.ptcl.tcl:
sed -e 's@%TCL_DIR%@$(TCL_DIR)@g' $< > $@
+.pel.el:
+ sed -e 's@%BIN_DIR%@$(bindir)@g' $< > $@
clean:
rm -f tkmidity.tcl
rm -f *.$(OBJEXT)
;;
;; You write follows in ~/.emacs
;; (autoload 'timidity "timidity" "TiMidity Interface" t)
-;; (setq timidity-prog-path "/usr/local/bin/timidity")
+;; (setq timidity-prog-path "%BIN_DIR%/timidity")
;;
;; Then you type:
;; M-x timidity
;; Configuration parameters.
; Absolute path of timidity.
-(defvar timidity-prog-path "/usr/local/bin/timidity")
+(defvar timidity-prog-path "%BIN_DIR%/timidity")
; String list for timidity program options.
(defvar timidity-default-options nil)