/[gentoo-src]/javatoolkit/Makefile
Gentoo

Contents of /javatoolkit/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Dec 25 00:14:05 2004 UTC (9 years, 9 months ago) by axxo
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +5 -2 lines
correct typo in makefile, allow target/source to be defined seperate

1 # Copyright 2003-2004 Karl Trygve Kalleberg <karltk@gentoo.org>
2 # Copyright 2003-2004 Gentoo Technologies, Inc.
3 # Distributed under the terms of the GNU General Public License v2
4 #
5 # $Header: /var/cvsroot/gentoo-src/javatoolkit/Makefile,v 1.2 2004/12/20 19:32:12 karltk Exp $
6
7 include makedefs.mak
8
9
10 all:
11 echo $(PYVERSION)
12 echo $(VERSION)
13 echo $(docdir)
14 echo $(bindir)
15 echo $(sbindir)
16 echo $(mandir)
17 for x in bsfix; do \
18 ( cd src/$$x; make all ) \
19 done
20
21 dist: dist-javatoolkit
22
23 dist-javatoolkit:
24 mkdir -p release/javatoolkit-$(VERSION)$(RELEASE_TAG)
25 rm -rf release/javatoolkit-$(VERSION)$(RELEASE_TAG)/
26 for x in sun-fetch findclass bsfix ; do \
27 ( cd src/$$x ; make distdir=release/javatoolkit-$(VERSION)$(RELEASE_TAG) dist ) \
28 done
29 cp {Makefile,AUTHORS,README,TODO,COPYING,NEWS,ChangeLog} release/javatoolkit-$(VERSION)$(RELEASE_TAG)/
30 cat makedefs.mak | \
31 sed "s/^VERSION=.*/VERSION=$(VERSION)/" | \
32 sed "s/^RELEASE_TAG=.*/RELEASE_TAG=$(RELEASE_TAG)/" \
33 > release/javatoolkit-$(VERSION)$(RELEASE_TAG)/makedefs.mak
34 ( cd release ; tar zcf javatoolkit-$(VERSION)$(RELEASE_TAG).tar.gz javatoolkit-$(VERSION)$(RELEASE_TAG)/ )
35
36 install: install-javatoolkit
37
38 install-javatoolkit:
39
40 install -d $(docdir)
41 install -d $(bindir)
42 install -d $(sbindir)
43 install -d $(mandir)
44
45 install -m 0644 {AUTHORS,ChangeLog,COPYING,NEWS,README,TODO} $(docdir)/
46
47 for x in sun-fetch findclass bsfix ; do \
48 ( cd src/$$x ; make DESTDIR=$(DESTDIR) install ) \
49 done

  ViewVC Help
Powered by ViewVC 1.1.20