Source

hyperbole / GNUmakefile.id

viteno 9f60743 






































































# Makefile for Hyperbole base lisp code

# This file is part of Hyperbole.

VERSION = 4.18
AUTHOR_VERSION = 4.18
MAINTAINER = BeOpen.com Inc <support@beopen.com>
PACKAGE = hyperbole
PKG_TYPE = regular
REQUIRES = tm rmail misc mh-e vm mail-lib apel kotl xemacs-base
CATEGORY = id-lisp

HYPB_ELCS = hact.elc hactypes.elc hargs.elc hbdata.elc hbmap.elc hbut.elc \
	hgnus.elc hhist.elc hib-doc-id.elc hib-kbd.elc hibtypes.elc \
	hinit.elc hlvar.elc hmail.elc hmh.elc hmoccur.elc hmous-info.elc \
	hmouse-drv.elc hmouse-key.elc hmouse-mod.elc hmouse-reg.elc \
	hmouse-sh.elc hmouse-tag.elc hpath.elc hrmail.elc hsite-ex.elc \
	hsite.elc hsmail.elc hsys-w3.elc hsys-wais.elc \
	htz.elc hui-em19-b.elc \
	hui-menu.elc hui-mini.elc hui-mouse.elc hui-window.elc hui-xe-but.elc \
	hui.elc hvar.elc hversion.elc hvm.elc hypb.elc hyperbole.elc set.elc \
	wconfig.elc wrolo-logic.elc wrolo-menu.elc wrolo.elc

KOTL_ELCS = kotl/kexport.elc kotl/kfile.elc kotl/kfill.elc kotl/kimport.elc \
	kotl/klabel.elc kotl/klink.elc kotl/kmenu.elc kotl/knode.elc \
	kotl/kotl-mode.elc kotl/kotl.elc kotl/kprop-em.elc kotl/kprop-xe.elc \
	kotl/kproperty.elc kotl/kview.elc kotl/kvspec.elc

ELCS = $(HYPB_ELCS) $(KOTL_ELCS)

PRELOADS = -eval "(push \"`pwd`/\" load-path)" \
	-l ./hversion.el -l ./hyperbole.el -l ./hsite.el

EXTRA_SOURCES = file-newer smart-clib-sym DEMO HY-ABOUT HY-NEWS HY-README \
	Makefile h-skip-bytec.lsp .hypb _hypb

KOTL_EXTRAS = kotl/EXAMPLE.kotl

KOTL_FILES = $(KOTL_ELCS) $(KOTL_ELCS:.elc=.el) $(KOTL_EXTRAS)

include ../../InfoDock.rules

SOURCE_FILES_TO_COPY = $(HYPB_ELCS) $(HYPB_ELCS:.elc=.el) auto-autoloads.el \
	auto-autoloads.elc $(EXTRA_SOURCES) ChangeLog

all:: $(ELCS) auto-autoloads.elc

auto-autoloads.el: $(ELCS:.elc=.el)
	@touch auto-autoloads.el
	$(XEMACS) $(VANILLA) -batch \
		-eval "(setq autoload-package-name \"$(PACKAGE)\")" \
		-l autoload -f batch-update-autoloads $^

srckit: srckit-std

binkit: all
	-rm -rf $(STAGING)/lisp/$(PACKAGE)
	-mkdir -p $(STAGING)/lisp/$(PACKAGE)/kotl
	-rm -f $(STAGING)/$(MANIFEST)
	-mkdir -p $(STAGING)/pkginfo
	-touch $(STAGING)/$(MANIFEST)
	$(RCOPY) $(SOURCE_FILES_TO_COPY) $(EXTRA_SOURCES) $(STAGING)/lisp/$(PACKAGE)
	$(RCOPY) $(KOTL_FILES) $(STAGING)/lisp/$(PACKAGE)/kotl
	(cd $(STAGING); \
	rm -f $(PACKAGE)-$(VERSION)-pkg.tar*; \
	ls -1 $(MANIFEST) \
		$(patsubst %, lisp/$(PACKAGE)/%, $(SOURCE_FILES_TO_COPY)) \
		$(patsubst %, lisp/$(PACKAGE)/kotl/%, $(notdir $(KOTL_FILES))) \
		> $(MANIFEST); \
	$(TAR) $(EXCLUDES) -cf $(PACKAGE)-$(VERSION)-pkg.tar \
		$(MANIFEST) lisp/$(PACKAGE); \
	gzip -v9 $(PACKAGE)-$(VERSION)-pkg.tar)