File: GNUmakefile.id

package info (click to toggle)
xemacs21-packages 2009.02.17.dfsg.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 116,928 kB
  • ctags: 88,975
  • sloc: lisp: 1,232,060; ansic: 16,570; java: 13,514; xml: 6,477; sh: 4,611; makefile: 4,036; asm: 3,007; perl: 839; cpp: 500; ruby: 257; csh: 96; haskell: 93; awk: 49; python: 47
file content (72 lines) | stat: -rw-r--r-- 2,589 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# 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)