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