1 # This file is part of XEmacs.
2 # Copyright (C) 2002, 2003 Ben Wing.
4 # XEmacs is free software; you can redistribute it and/or modify it
5 # under the terms of the GNU General Public License as published by the
6 # Free Software Foundation; either version 2, or (at your option) any
9 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with XEmacs; see the file COPYING. If not, write to
16 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 # Boston, MA 02110-1301, USA.
20 # This is used by higher-level subdirectories that do not directly contain
21 # packages. Subdirectories directly containing packages should use
22 # iterate.rules instead.
25 XEMACS_PACKAGES_BASE := $(shell while [ ! -f XEmacs.rules ]; do \
30 include ${XEMACS_PACKAGES_BASE}/meta-targets.rules
34 include ${XEMACS_PACKAGES_BASE}/iterate-1.rules
36 .PHONY: macro-list World
38 # At some point we might have dependencies here...
41 [ -d $(*D) ] && $(MAKE) $(MFLAGS) -C $(*D) $(*F)
45 find . -type f -name \*.el | xargs awk -f gen-macro-list.awk > macro.list
47 World: extraclean install