From: ueno Date: Mon, 25 Mar 2002 12:01:40 +0000 (+0000) Subject: Use ?= to set variables which may be imported from upper-level X-Git-Tag: liece-1_4_8~5 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5291aa174c65d182116f8879ff6a124bae14a21a;p=elisp%2Fliece.git Use ?= to set variables which may be imported from upper-level Makefiles. --- diff --git a/lisp/Makefile.lisp b/lisp/Makefile.lisp index 2e8ab50..fce2a66 100644 --- a/lisp/Makefile.lisp +++ b/lisp/Makefile.lisp @@ -1,27 +1,18 @@ PACKAGE = liece VERSION = 1.4.7 -ifndef EMACS - EMACS = emacs -endif -ifndef XEMACS - XEMACS = xemacs -endif -FLAGS = -batch -q -no-site-file -TAR = tar - -ifndef PREFIX - PREFIX = NONE -endif -ifndef LISPDIR - LISPDIR = NONE -endif -PACKAGEDIR = NONE -VERSION_SPECIFIC_LISPDIR = NONE - -GOMI = liece-setup.el *.elc - -all: elc +EMACS ?= emacs +XEMACS ?= xemacs +FLAGS ?= -batch -q -no-site-file +TAR ?= tar +PREFIX ?= NONE +LISPDIR ?= NONE +PACKAGEDIR ?= NONE +VERSION_SPECIFIC_LISPDIR ?= NONE + +GOMI = liece-setup.el *.elc + +all:: elc elc: $(EMACS) $(FLAGS) -l ./liece-make.el -f autoload-liece \ @@ -43,5 +34,5 @@ install-package: package $(XEMACS) $(FLAGS) -l ./liece-make.el -f install-liece-package \ $(PACKAGEDIR) -clean: +clean:: -rm -f $(GOMI)