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
|
@SET_MAKE@
# location of required programms
BZR = bzr --no-plugins
TAR = @TAR@
RM = @RM@
XARGS = @XARGS@
prefix = @prefix@
INSTALL = @INSTALL@
SUBDIRS = lisp info src pixmaps
##############################################################################
.PHONY: all install clean distclean
all: vm-load.el
@for i in $(SUBDIRS) ; do ($(MAKE) -C $$i) || exit 1; done
Makefile vm-load.el: %: config.status @srcdir@/%.in
./config.status $@
@srcdir@/configure: @srcdir@/configure.ac
cd @srcdir@ ; autoconf
./config.status --recheck
config.status: @srcdir@/configure
./config.status --recheck
install:
@for i in $(SUBDIRS) ; do ($(MAKE) -C $$i install) || exit 1; done
clean:
@for i in $(SUBDIRS) ; do ($(MAKE) -C $$i clean) || exit 1; done
distclean:
@for i in $(SUBDIRS) ; do ($(MAKE) -C $$i distclean) || exit 1; done
push:
$(BZR) push
##############################################################################
PKGDIR = $(shell pwd)/,,package/
PKGINFO = $(PKGDIR)/lisp/vm/_pkg.el
xemacs-package:
if [ "x@EMACS_FLAVOR@" != "xxemacs" ]; then \
echo "ERROR: Current build dir not configured for XEmacs,"; \
echo "ERROR: Please re-run configure with --with-emacs=xemacs."; \
exit 1; \
fi
-$(RM) -rf ,,package
cd lisp; make PACKAGEDIR=$(PKGDIR)/lisp/vm install-pkg
cd info; make info_dir=$(PKGDIR)/info install-pkg
cd src; make info_dir=$(PKGDIR)/bin install-pkg
echo ";;;###autoload" > $(PKGINFO)
echo "(package-provide 'vm'" > $(PKGINFO)
echo " :version 0.7" >> $(PKGINFO)
echo ' :author-version "'`$(BZR) revno "@top_srcdir@"`'"' >> $(PKGINFO)
echo " :type 'regular)" >> $(PKGINFO)
mkdir $(PKGDIR)/pkginfo;
touch $(PKGDIR)/pkginfo/MANIFEST.vm;
cd $(PKGDIR); find -type f | cut -c3- > pkginfo/MANIFEST.vm
cd ,,package; $(TAR) -cvzf ../vm-pkg.tar.gz *
##############################################################################
release::
./release.sh
snapshot::
./release.sh snapshot
|