Source

liece / lisp / Makefile.lisp

Full commit
PACKAGE	= liece
VERSION	= 1.4.9

EMACS ?= emacs
XEMACS ?= xemacs
FLAGS ?= -batch -q -no-site-file
TAR ?= tar
PREFIX ?= NONE
LISPDIR	?= NONE
PACKAGEDIR ?= NONE
VERSION_SPECIFIC_LISPDIR ?= NONE

include ../../../XEmacs.rules
GOMI = liece-setup.el *.elc

all: elc

elc: 
	$(EMACS) $(FLAGS) -l ./liece-make.el -f autoload-liece \
		$(PREFIX) $(LISPDIR)
	$(EMACS) $(FLAGS) -l ./liece-make.el -f compile-liece \
		$(PREFIX) $(LISPDIR)

install: elc
	$(EMACS) $(FLAGS) -l ./liece-make.el -f install-liece \
		$(PREFIX) $(LISPDIR)

package:
	$(XEMACS) $(FLAGS) -l ./liece-make.el -f autoload-liece \
		$(PREFIX) $(LISPDIR)
	$(XEMACS) $(FLAGS) -l ./liece-make.el -l advice -f compile-liece-package \
		$(PACKAGEDIR)

install-package: package
	$(XEMACS) $(FLAGS) -l ./liece-make.el -f install-liece-package \
		$(PACKAGEDIR)

clean::
	-rm -f $(GOMI)