chiark / gitweb /
Autoconf and automake fixing.
[cfd] / Makefile.am
1 ## Process this file with Automake to generate `Makefile.in'
2 ## -*-Makefile-*-
3 ##
4 ## $Id$
5 ##
6 ## Building the distribution
7 ##
8 ## (c) 1997 Mark Wooding
9 ##
10
11 ##----- Licensing notice ----------------------------------------------------
12 ##
13 ## This file is part of the Common Files Distribution (`common')
14 ## 
15 ## `Common' is free software; you can redistribute it and/or modify
16 ## it under the terms of the GNU General Public License as published by
17 ## the Free Software Foundation; either version 2 of the License, or
18 ## (at your option) any later version.
19 ## 
20 ## `Common' is distributed in the hope that it will be useful,
21 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 ## GNU General Public License for more details.
24 ## 
25 ## You should have received a copy of the GNU General Public License
26 ## along with `common'; if not, write to the Free Software Foundation,
27 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
28
29 ## --- Options ---
30
31 AUTOMAKE_OPTIONS = foreign
32
33 ## --- What needs building ---
34
35 bin_SCRIPTS = mklinks findlinks txtlib mkaclocal
36
37 ## --- Files to install in the repository ---
38
39 pkgdata_DATA = \
40         COPYING COPYING.LIB INSTALL \
41         gpl.tex lgpl.tex gpl.texi lgpl.texi texinice.tex \
42         lib-config.in \
43         mdwopt.c mdwopt.h \
44         getdate.y getdate.h
45
46 EXTRA_DIST = \
47         $(pkgdata_DATA) $(pkgdata_SCRIPTS) \
48         debian/control debian/copyright debian/rules debian/changelog
49
50 pkgdata_SCRIPTS = \
51         install-ac maninst
52
53 install-data-hook:
54         $(srcdir)/mkinstalldirs $(DESTDIR)/$(aclocaldir)
55         $(srcdir)/install-ac install \
56                  $(srcdir)/aclocal.glob $(DESTDIR)$(aclocaldir)
57 uninstall-hook:
58         $(srcdir)/install-ac rm \
59                 $(srcdir)/aclocal.glob $(DESTDIR)$(aclocaldir)
60
61 ## --- Documentation ---
62
63 info_TEXINFOS = common.texi
64
65 ## --- Cleaning up ---
66
67 CLEANFILES = $(bin_SCRIPTS)