SUBDIRS = . dcc doc etc lisp EXTRA_DIST = sample.dot.emacs.in DISTCLEANFILES = sample.dot.emacs CVSROOT = :pserver:anonymous@cvs.m17n.org:/cvs/root if USE_TM ALL_LOCAL_TARGET = all-tm INSTALL_LOCAL_TARGET = install-tm CLEAN_LOCAL_TARGET = clean-tm else ALL_LOCAL_TARGET = INSTALL_LOCAL_TARGET = CLEAN_LOCAL_TARGET = endif if USE_PACKAGE ALL_TM_TARGET = package INSTALL_TM_TARGET = install-package else ALL_TM_TARGET = INSTALL_TM_TARGET = install endif CLEAN_TM_TARGET = clean if USE_CUSTOM_LISPDIR INSTALL_TM_MAKEFLAGS = LISPDIR=$(lispdir) VERSION_SPECIFIC_LISPDIR=$(lispdir) else INSTALL_TM_MAKEFLAGS = endif if USE_CUSTOM_PACKAGEDIR INSTALL_TM_MAKEFLAGS = PACKAGEDIR=$(packagedir) endif all-local: $(ALL_LOCAL_TARGET) sample.dot.emacs: sample.dot.emacs.in sed -e 's!@pkgdatadir@!$(pkgdatadir)!g' $< > $@ install-data-local: $(INSTALL_LOCAL_TARGET) clean-local: $(CLEAN_LOCAL_TARGET) all-tm: @if grep ${CVSROOT} ${HOME}/.cvspass; then :; else \ echo "${CVSROOT} A" >> ${HOME}/.cvspass; fi; \ target=`echo $@ | sed s/-recursive//`; \ if test -d apel; then :; else \ cvs -d ${CVSROOT} -z3 checkout apel; fi; \ if test -d flim; then :; else \ cvs -d ${CVSROOT} -z3 checkout -r flim-1_13 flim; fi; \ list='apel flim'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ ( cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) $(ALL_TM_TARGET) ) ; \ done install-tm: all-tm @target=`echo $@ | sed s/-recursive//`; \ list='apel flim'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ ( cd $$subdir && \ $(MAKE) $(INSTALL_TM_MAKEFLAGS) $(INSTALL_TM_TARGET) ) ; \ done clean-tm: @target=`echo $@ | sed s/-recursive//`; \ list='apel flim'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ ( cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) $(CLEAN_TM_TARGET) ) ; \ done