source: trunk/gsdl3/src/java/Makefile.in@ 7778

Last change on this file since 7778 was 7778, checked in by kjdon, 20 years ago

added distclean into the Makefiles

  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1###########################################################################
2#
3# Makefile -- Makefile for packages included with Greenstone
4#
5# A component of the Greenstone digital library software
6# from the New Zealand Digital Library Project at the
7# University of Waikato, New Zealand.
8#
9# Copyright (C) 2000 New Zealand Digital Library Project
10#
11# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2 of the License, or
14# (at your option) any later version.
15#
16# This program is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with this program; if not, write to the Free Software
23# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24#
25###########################################################################
26
27
28PACKAGEDIRS = org/greenstone/gdbm org/greenstone/testing \
29 org/greenstone/gsdl3 org/greenstone/applet/phind
30
31all:
32 for subdir in $(PACKAGEDIRS); do \
33 echo making $@ in $$subdir; \
34 (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
35 done
36
37install:
38 for subdir in $(PACKAGEDIRS); do \
39 echo installing $$subdir; \
40 (cd $$subdir && $(MAKE) install) || exit 1; \
41 done
42
43clean:
44 for subdir in $(PACKAGEDIRS); do \
45 echo cleaning $@ in $$subdir; \
46 (cd $$subdir && $(MAKE) clean || exit 0) ; \
47 done
48
49distclean:
50 rm -f Makefile
51 for subdir in $(PACKAGEDIRS); do \
52 echo dist cleaning $@ in $$subdir; \
53 (cd $$subdir && $(MAKE) distclean || exit 0) ; \
54 done
55
56
Note: See TracBrowser for help on using the repository browser.