Remove non-free old and crusty clearcase pkg
[packages] / Version.rules
1 # Experimental versioning checks for packages
2 # Copyright (C) 2003 Steve Youngs.
3
4 # This file is part of XEmacs.
5
6 # XEmacs is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by the
8 # Free Software Foundation; either version 2, or (at your option) any
9 # later version.
10
11 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 # for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with XEmacs; see the file COPYING.  If not, write to
18 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 # Boston, MA 02110-1301, USA.
20
21 # Requires XEmacs 21.0-beta19 or greater and GNU Make 3.78 or greater.
22
23 # This is for packages that require specific XEmacs versions to run
24 # (generally a VERY VERY BAD thing).  If you think your package needs
25 # this please take another look at your code to see if you can make it
26 # version independent.  Right now the only package that uses this is
27 # Mule-UCS, lets try to keep it that way. SY
28
29 # To get this to work, in the package's Makefile:
30 #
31 #  include ../../Local.rules
32 #  CHECK_VERSION = $(XEMACS) -batch -no-autoloads -eval '(princ (emacs-version>= x y z))'
33 #  # 'x y z' represents the minimum XEmacs major and optional minor and patch versions
34 #  # this package runs on.
35 #  ifeq ($(shell $(CHECK_VERSION)),t)
36 #   [rest of normal package Makefile]
37 #  else
38 #   include ../../Version.rules
39 #   bad-version:
40 #           [what to do if not right XEmacs version, usually just echo
41 #            something to stdout]
42 #  endif
43
44 # For a working example look at ./mule-packages/mule-ucs/Makefile
45
46
47 # From here on it is just a list of targets that all point to the
48 # 'bad-version' target.
49
50 all: bad-version
51
52 autoloads: all
53
54 bindist: all
55
56 binkit: all
57
58 bytecompile: all
59
60 clean: all
61
62 compile: all
63
64 distclean: all
65
66 extraclean: all
67
68 genclean: all
69
70 html: all
71
72 install-for-bindist: all
73
74 install-html: all
75
76 install-only: all
77
78 install: all
79
80 mostlyclean: all
81
82 pdepends.mk: all
83
84 world: all
85
86 World: all
87
88
89 # Local Variables:
90 # mode: makefile
91 # End: