Import the XE gnus pkg Makefile and package-info.in
[packages] / Local.rules.inc
1 # Common Makefile material for package Makefiles
2 # Copyright (C) 1997 Free Software Foundation Inc.
3 # Copyright (C) 2002, 2003 Ben Wing.
4
5 # This file is part of XEmacs.
6
7 # XEmacs is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by the
9 # Free Software Foundation; either version 2, or (at your option) any
10 # later version.
11
12 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 # for more details.
16
17 # You should have received a copy of the GNU General Public License
18 # along with XEmacs; see the file COPYING.  If not, write to
19 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 # Boston, MA 02110-1301, USA.
21
22 # Requires XEmacs 21.0-beta19 or greater and GNU Make 3.78 or greater.
23
24 ifeq ($(XEMACS_RULES_INCLUDED),)
25 XEMACS_RULES_INCLUDED := t
26
27 XEMACS_PACKAGES_BASE := $(shell while [ ! -f XEmacs.rules ]; do \
28                                     cd ..;      \
29                                 done;           \
30                                 pwd)
31
32 DEPENDS_FILE_NAME = pdepends.mk
33
34 include ${XEMACS_PACKAGES_BASE}/meta-targets.rules
35
36 bytecompile:: compile
37
38 include ${XEMACS_PACKAGES_BASE}/Local.rules.mk
39 -include ${XEMACS_PACKAGES_BASE}/Local.rules
40 endif
41
42 # Local Variables:
43 # mode: makefile
44 # End: