4 # Purpose: Makefile for the uffi package
5 # Programer: Kevin M. Rosenberg, M.D.
6 # Date Started: Mar 2002
8 # CVS Id: $Id: Makefile,v 1.17 2002/03/15 19:25:58 kevin Exp $
10 # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
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.
22 @rm -f uffi-*.tar.gz uffi-*.zip
23 @find . -type f -name \*.fasl -exec rm {} \;
24 @find . -type f -name \*.fsl -exec rm {} \;
25 @find . -type d -name .bin |xargs rm -rf
28 @find . -type f -name \*~ -exec rm {} \;
29 @find . -type f -name "#*#" -exec rm {} \;
32 @(cd doc; make dist-doc)
35 DISTDIR=uffi-${VERSION}
36 DIST_TARBALL=${DISTDIR}.tar.gz
37 DIST_ZIP=${DISTDIR}.zip
38 SOURCE_FILES=src doc examples Makefile uffi.system COPYRIGHT README \
39 INSTALL uffi.lsm ChangeLog NEWS test-examples.cl set-logical.cl
42 @rm -fr ${DISTDIR} ${DIST_TARBALL} ${DIST_ZIP}
44 @cp -a ${SOURCE_FILES} ${DISTDIR}
45 @find ${DISTDIR} -type d -name CVS |xargs rm -rf
46 @find ${DISTDIR} -type f -name .cvsignore |xargs rm -rf
47 @tar czf ${DIST_TARBALL} ${DISTDIR}
48 @find ${DISTDIR} -type f -exec unix2dos -q {} \;
49 @zip -rq ${DIST_ZIP} ${DISTDIR}
52 FTP_DIR=/home/ftp/pub/uffi
55 @cp ${DIST_TARBALL} ${DIST_ZIP} ${FTP_DIR}