]> andersk Git - splint.git/blob - Makefile.am
Added files to generate a binary package by doing make bindist
[splint.git] / Makefile.am
1 ## Process this file with automake to create Makefile.in. -*-Makefile-*-
2 ##
3 ## Makefile for Splint 3.0
4 ## For more information: http://www.splint.org
5 ##
6 ## Copyright (C) 2001-2 University of Virginia,
7 ##         Massachusetts Institute of Technology
8 ##
9 ## This program is free software; you can redistribute it and/or modify it
10 ## under the terms of the GNU General Public License as published by the
11 ## Free Software Foundation; either version 2 of the License, or (at your
12 ## option) any later version.
13 ## 
14 ## This program is distributed in the hope that it will be useful, but
15 ## WITHOUT ANY WARRANTY; without even the implied warranty of
16 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 ## General Public License for more details.
18 ## 
19 ## The GNU General Public License is available from http://www.gnu.org/ or
20 ## the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
21 ## MA 02111-1307, USA.
22 ##
23 ## For information on spint: info@splint.org
24 ## To report a bug: splint-bug@splint.org
25 ## 
26
27 AUTOMAKE_OPTIONS = 1.5 foreign
28
29 binaryfixscript = ./fixBinaryDist.sh
30 SUBDIRS =   lib imports test doc src
31
32 binaryBuiltFiles = Makefile.binary.am configure.binary.ac
33 #include these in case we're trying to build on a systems
34 #without the bleeding edge versions of automake and autoconf
35 binaryDerivedFiles = Makefile.binary.in configure.binary
36
37 EXTRA_DIST = $(binaryfixscript) $(binaryBuiltFiles) $(binaryDerivedFiles) preBuilt/Makefile.am preBuilt/Makefile.in
38
39 bindist:
40         $(MAKE)
41         $(CP) src/splint preBuilt/splint
42         $(MAKE) -e dist dh_script=$(binaryfixscript) SUBDIRS="preBuilt lib imports  doc"
43
44 dist-hook:
45         cd $(distdir);  pwd; $(dh_script)
This page took 0.090227 seconds and 5 git commands to generate.