~akwm/vm/message-filters

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Robert Widhopf-Fenk
  • Date: 2007-01-12 01:50:26 UTC
  • Revision ID: hack@robf.de-20070112015026-pvfvgthu2e6lx7ik
Reorganized the VM source tree and added a configure script.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@SET_MAKE@
 
2
 
 
3
# location of required programms
 
4
BZR = bzr
 
5
TAR = @TAR@
 
6
RM   = @RM@
 
7
XARGS = @XARGS@
 
8
prefix = @prefix@
 
9
INSTALL = @INSTALL@
 
10
 
 
11
SUBDIRS = lisp info src
 
12
 
 
13
##############################################################################
 
14
all:
 
15
        @for i in $(SUBDIRS) ; do ($(MAKE) -C $$i); done
 
16
 
 
17
Makefile: config.status @srcdir@/Makefile.in
 
18
        ./config.status $@
 
19
 
 
20
@srcdir@/configure: @srcdir@/configure.ac
 
21
        cd @srcdir@ ; autoconf
 
22
        ./config.status --recheck
 
23
 
 
24
config.status: @srcdir@/configure
 
25
        ./config.status --recheck
 
26
 
 
27
install:
 
28
        @for i in $(SUBDIRS) ; do ($(MAKE) -C $$i install); done
 
29
 
 
30
clean:
 
31
        @for i in $(SUBDIRS) ; do ($(MAKE) -C $$i clean); done
 
32
 
 
33
distclean:
 
34
        @for i in $(SUBDIRS) ; do ($(MAKE) -C $$i distclean); done
 
35
 
 
36
##############################################################################
 
37
# TODO creation of a XEmacs package
 
38
PKGDIR =  $(shell pwd)/,,package/
 
39
PKGINFO = $(PKGDIR)/lisp/vm/_pkg.el
 
40
xemacs-package:
 
41
        if [ "x@EMACS_FLAVOR@" != "xxemacs" ]; then \
 
42
          echo "ERROR: Current build dir not configured for XEmacs,"; \
 
43
          echo "ERROR: Please re-run configure with --with-emacs=xemacs."; \
 
44
          exit 1; \
 
45
        fi
 
46
        -$(RM) -rf ,,package
 
47
        cd lisp; make PACKAGEDIR=$(PKGDIR)/lisp/vm install-pkg
 
48
        cd info; make info_dir=$(PKGDIR)/info install-pkg
 
49
        cd src; make info_dir=$(PKGDIR)/bin install-pkg
 
50
        echo ";;;###autoload" > $(PKGINFO)
 
51
        echo "(package-provide 'vm'" > $(PKGINFO)
 
52
        echo "         :version 0.7" >> $(PKGINFO)
 
53
        echo '         :author-version "'`$(BZR) revno "@top_srcdir@"`'"' >> $(PKGINFO)
 
54
        echo "         :type 'regular)" >> $(PKGINFO)
 
55
        mkdir $(PKGDIR)/pkginfo;
 
56
        touch $(PKGDIR)/pkginfo/MANIFEST.vm;
 
57
        cd $(PKGDIR); find -type f | cut -c3- > pkginfo/MANIFEST.vm
 
58
        cd ,,package; $(TAR) -cvzf ../vm-pkg.tar.gz *