X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=fa175b25c27bcaa5c597aecb52f9bd560642c9ba;hb=ab8cfd3948bcc56dac3c21fb410c27a72ad97aa4;hp=7547883c6cd9927d9cce632bbf970209d96190d1;hpb=79bd78bd701bbc2d9b449d40d451c58987e4a607;p=elisp%2Fliece.git diff --git a/Makefile.am b/Makefile.am index 7547883..fa175b2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,69 +1,6 @@ -SUBDIRS = . dcc doc etc lisp +SUBDIRS = lisp doc dcc etc -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) - -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) ) ; \ +install-package package: + list='$(SUBDIRS)'; for subdir in $$list; do \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@) \ 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 -