r1819: further debian updates
[uffi.git] / Makefile
1 # FILE IDENTIFICATION
2
3 #  Name:         Makefile
4 #  Purpose:      Makefile for the uffi package
5 #  Programer:    Kevin M. Rosenberg, M.D.
6 #  Date Started: Mar 2002
7 #
8 #  CVS Id:   $Id: Makefile,v 1.44 2002/04/28 08:19:55 kevin Exp $
9 #
10 # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
11 #
12 # UFFI users are granted the rights to distribute and use this software
13 # as governed by the terms of the Lisp Lesser GNU Public License
14 # (http://opensource.franz.com/preamble.html), also known as the LLGPL.
15
16 PKG:=uffi
17 SUBDIRS:= examples src benchmarks
18 DOCSUBDIRS:=doc
19
20 include Makefile.common
21
22
23 .PHONY: all
24 all: 
25
26
27 .PHONY: distclean
28 distclean: clean
29         @$(MAKE) -C doc $@
30 #       ./debian/rules clean
31
32
33 VERSION=$(shell cat VERSION)
34 PKGNAME=$(PKG)-$(VERSION)
35 DISTDIR=$(PKGNAME)
36 DIST_TARBALL=$(PKGNAME).tar.gz
37 DIST_ORIG_TARBALL=$(PKGNAME).orig.tar.gz
38 DIST_ZIP=$(PKGNAME).zip
39 SOURCE_FILES=src doc examples Makefile uffi.system benchmarks COPYRIGHT README \
40          TODO INSTALL uffi.lsm ChangeLog NEWS test-examples.cl set-logical.cl 
41
42 VERSION_UNDERSCORE=$(shell cat VERSION | tr . _)
43 TAG=upstream_version_$(VERSION_UNDERSCORE)
44
45 .PHONY: tagcvs
46 tagcvs:
47         @cvs -q rtag -d $(TAG) $(PKG) > /dev/null
48         @cvs -q tag -F $(TAG) > /dev/null
49
50 .PHONY: doc
51 doc:
52         $(MAKE) -C doc
53
54 .PHONY: dist
55 dist: distclean
56         $(MAKE) -C doc $@
57         @make-dist.sh
58
59 .PHONY: wwwdist
60 wwwdist: dist
61         @./copy
62
63
64 .PHONY: freeze
65 freeze:
66         @echo tagging with frozen tag
67         cvs -q rtag -d frozen uffi
68         cvs -q tag -F frozen .
69
70