289
by Robert Widhopf-Fenk
Reorganized the VM source tree and added a configure script. |
1 |
@SET_MAKE@
|
2 |
||
3 |
# location of required programms
|
|
412
by Robert Widhopf-Fenk
Disable plugins in BZR runs to avoid problems caused by them. |
4 |
BZR = bzr --no-plugins |
929.1.1
by Uday S Reddy
Fixed inconsistent references to datadir. Moved pixmaps installation to <datadir>/vm/pixmaps. (This fixes XEmacs pixmaps installation as well.) |
5 |
prefix = @prefix@ |
6 |
MKDIR = @MKDIR@ |
|
289
by Robert Widhopf-Fenk
Reorganized the VM source tree and added a configure script. |
7 |
TAR = @TAR@ |
8 |
RM = @RM@ |
|
9 |
XARGS = @XARGS@ |
|
10 |
prefix = @prefix@ |
|
11 |
INSTALL = @INSTALL@ |
|
929.1.1
by Uday S Reddy
Fixed inconsistent references to datadir. Moved pixmaps installation to <datadir>/vm/pixmaps. (This fixes XEmacs pixmaps installation as well.) |
12 |
INSTALL_DATA = @INSTALL_DATA@ |
835.1.30
by Uday S Reddy
Added a definition for PACAGE_TARNAME to the Makefile.in. (Thanks to John Hein for the patch.) |
13 |
PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
929.1.1
by Uday S Reddy
Fixed inconsistent references to datadir. Moved pixmaps installation to <datadir>/vm/pixmaps. (This fixes XEmacs pixmaps installation as well.) |
14 |
|
15 |
srcdir = @srcdir@ |
|
16 |
datadir= @datadir@ |
|
17 |
datarootdir= @datarootdir@ |
|
929.1.5
by udr
Replaced --with-pixmapdir option with --with-etcdir, covering both doc and data files. |
18 |
etcdir = @etcdir@ |
929.1.1
by Uday S Reddy
Fixed inconsistent references to datadir. Moved pixmaps installation to <datadir>/vm/pixmaps. (This fixes XEmacs pixmaps installation as well.) |
19 |
pixmapdir = @pixmapdir@ |
929.1.6
by udr
Added --with-docdir option for doc files. |
20 |
docdir = @docdir@ |
289
by Robert Widhopf-Fenk
Reorganized the VM source tree and added a configure script. |
21 |
|
346.1.9
by Robert Widhopf-Fenk
Implemented proper "make install". |
22 |
SUBDIRS = lisp info src pixmaps |
289
by Robert Widhopf-Fenk
Reorganized the VM source tree and added a configure script. |
23 |
|
929.1.3
by Uday S Reddy
Added installation of NEWS and other documentation files to <datadir>/vm. |
24 |
# the list of source (documentation) files
|
25 |
SOURCES = NEWS |
|
26 |
SOURCES += CHANGES |
|
27 |
SOURCES += README |
|
28 |
SOURCES += TODO |
|
29 |
SOURCES += COPYING |
|
30 |
||
31 |
||
289
by Robert Widhopf-Fenk
Reorganized the VM source tree and added a configure script. |
32 |
##############################################################################
|
653.1.75
by Ulrich Müller
Move INSTALL.txt back to INSTALL. Make "install" a phony target in Makefile.in. |
33 |
|
34 |
.PHONY: all install clean distclean |
|
35 |
||
544.1.60
by Samuel Bronson
Add an autoconf-generated file "vm-load.el" to ease loading from source tree |
36 |
all: vm-load.el |
614.1.16
by Ulrich Müller
Explicitely catch failures of subdir make processes, bug #501915. |
37 |
@for i in $(SUBDIRS) ; do ($(MAKE) -C $$i) || exit 1; done |
289
by Robert Widhopf-Fenk
Reorganized the VM source tree and added a configure script. |
38 |
|
544.1.60
by Samuel Bronson
Add an autoconf-generated file "vm-load.el" to ease loading from source tree |
39 |
Makefile vm-load.el: %: config.status @srcdir@/%.in |
289
by Robert Widhopf-Fenk
Reorganized the VM source tree and added a configure script. |
40 |
./config.status $@
|
41 |
||
42 |
@srcdir@/configure: @srcdir@/configure.ac |
|
43 |
cd @srcdir@ ; autoconf |
|
44 |
./config.status --recheck |
|
45 |
||
46 |
config.status: @srcdir@/configure |
|
47 |
./config.status --recheck |
|
48 |
||
929.1.3
by Uday S Reddy
Added installation of NEWS and other documentation files to <datadir>/vm. |
49 |
install: install-pkg |
614.1.16
by Ulrich Müller
Explicitely catch failures of subdir make processes, bug #501915. |
50 |
@for i in $(SUBDIRS) ; do ($(MAKE) -C $$i install) || exit 1; done |
289
by Robert Widhopf-Fenk
Reorganized the VM source tree and added a configure script. |
51 |
|
929.1.3
by Uday S Reddy
Added installation of NEWS and other documentation files to <datadir>/vm. |
52 |
install-pkg: |
929.1.6
by udr
Added --with-docdir option for doc files. |
53 |
$(MKDIR) -p "$(DESTDIR)$(docdir)" |
835.1.33
by Uday S Reddy
Fixed Makefile.in to respect DESTDIR for etcdir. (Thanks to Victor van den Elzen for the patch.) |
54 |
$(MKDIR) -p "$(DESTDIR)$(etcdir)" |
1228
by Uday S Reddy
Corrected and edited the instructions in INSTALL file. |
55 |
for i in $(SOURCES) ; do \ |
835.1.33
by Uday S Reddy
Fixed Makefile.in to respect DESTDIR for etcdir. (Thanks to Victor van den Elzen for the patch.) |
56 |
echo "Installing $$i in '$(DESTDIR)$(docdir)' and '$(DESTDIR)$(etcdir)'" ; \ |
929.1.6
by udr
Added --with-docdir option for doc files. |
57 |
$(INSTALL_DATA) $$i "$(DESTDIR)$(docdir)" ; \ |
835.1.33
by Uday S Reddy
Fixed Makefile.in to respect DESTDIR for etcdir. (Thanks to Victor van den Elzen for the patch.) |
58 |
$(INSTALL_DATA) $$i "$(DESTDIR)$(etcdir)" ; \ |
929.1.3
by Uday S Reddy
Added installation of NEWS and other documentation files to <datadir>/vm. |
59 |
done ; |
60 |
||
289
by Robert Widhopf-Fenk
Reorganized the VM source tree and added a configure script. |
61 |
clean: |
614.1.16
by Ulrich Müller
Explicitely catch failures of subdir make processes, bug #501915. |
62 |
@for i in $(SUBDIRS) ; do ($(MAKE) -C $$i clean) || exit 1; done |
289
by Robert Widhopf-Fenk
Reorganized the VM source tree and added a configure script. |
63 |
|
64 |
distclean: |
|
614.1.16
by Ulrich Müller
Explicitely catch failures of subdir make processes, bug #501915. |
65 |
@for i in $(SUBDIRS) ; do ($(MAKE) -C $$i distclean) || exit 1; done |
289
by Robert Widhopf-Fenk
Reorganized the VM source tree and added a configure script. |
66 |
|
300
by Robert Widhopf-Fenk
Added "push" and "dist" targets to Makefile. |
67 |
push: |
412
by Robert Widhopf-Fenk
Disable plugins in BZR runs to avoid problems caused by them. |
68 |
$(BZR) push |
300
by Robert Widhopf-Fenk
Added "push" and "dist" targets to Makefile. |
69 |
|
289
by Robert Widhopf-Fenk
Reorganized the VM source tree and added a configure script. |
70 |
##############################################################################
|
71 |
PKGDIR = $(shell pwd)/,,package/ |
|
72 |
PKGINFO = $(PKGDIR)/lisp/vm/_pkg.el |
|
73 |
xemacs-package: |
|
74 |
if [ "x@EMACS_FLAVOR@" != "xxemacs" ]; then \
|
|
75 |
echo "ERROR: Current build dir not configured for XEmacs,"; \
|
|
76 |
echo "ERROR: Please re-run configure with --with-emacs=xemacs."; \
|
|
77 |
exit 1; \
|
|
78 |
fi
|
|
79 |
-$(RM) -rf ,,package |
|
80 |
cd lisp; make PACKAGEDIR=$(PKGDIR)/lisp/vm install-pkg |
|
81 |
cd info; make info_dir=$(PKGDIR)/info install-pkg |
|
82 |
cd src; make info_dir=$(PKGDIR)/bin install-pkg |
|
83 |
echo ";;;###autoload" > $(PKGINFO) |
|
84 |
echo "(package-provide 'vm'" > $(PKGINFO) |
|
85 |
echo " :version 0.7" >> $(PKGINFO) |
|
86 |
echo ' :author-version "'`$(BZR) revno "@top_srcdir@"`'"' >> $(PKGINFO) |
|
87 |
echo " :type 'regular)" >> $(PKGINFO) |
|
88 |
mkdir $(PKGDIR)/pkginfo; |
|
89 |
touch $(PKGDIR)/pkginfo/MANIFEST.vm; |
|
90 |
cd $(PKGDIR); find -type f | cut -c3- > pkginfo/MANIFEST.vm |
|
91 |
cd ,,package; $(TAR) -cvzf ../vm-pkg.tar.gz * |
|
340
by Robert Widhopf-Fenk
Added a script to create a release bundle. |
92 |
|
93 |
##############################################################################
|
|
350
by Robert Widhopf-Fenk
Removed done TODO markers. |
94 |
release:: |
95 |
./release.sh |
|
340
by Robert Widhopf-Fenk
Added a script to create a release bundle. |
96 |
|
355
by Robert Widhopf-Fenk
Added snapshot tag and creation of "id" file. |
97 |
snapshot:: |
98 |
./release.sh snapshot |
|
1138
by Uday S Reddy
Changed vm-forward-message to do plain text forwarding. |
99 |
|
100 |
tags:: |
|
101 |
etags lisp/*.el contrib/*.el info/vm.texinfo NEWS |