Commit | Line | Data |
---|---|---|
247f344a MW |
1 | ### -*-makefile-*- |
2 | ### | |
3 | ### Build script for udpkey | |
4 | ### | |
5 | ### (c) 2012 Mark Wooding | |
6 | ### | |
7 | ||
8 | ###----- Licensing notice --------------------------------------------------- | |
9 | ### | |
10 | ### This file is part of udpkey. | |
11 | ### | |
12 | ### The udpkey program is free software; you can redistribute it and/or modify | |
13 | ### it under the terms of the GNU General Public License as published by | |
14 | ### the Free Software Foundation; either version 2 of the License, or | |
15 | ### (at your option) any later version. | |
16 | ### | |
17 | ### The udpkey program is distributed in the hope that it will be useful, | |
18 | ### but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | ### GNU General Public License for more details. | |
21 | ### | |
22 | ### You should have received a copy of the GNU General Public License | |
23 | ### along with udpkey; if not, write to the Free Software Foundation, | |
24 | ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
25 | ||
26 | bin_PROGRAMS = | |
27 | dist_man_MANS = | |
28 | ||
29 | EXTRA_DIST = | |
30 | ||
31 | ###-------------------------------------------------------------------------- | |
32 | ### Main program. | |
33 | ||
34 | bin_PROGRAMS += udpkey | |
35 | dist_man_MANS += udpkey.1 | |
36 | udpkey_SOURCES = udpkey.c | |
37 | udpkey_LDADD = $(mLib_LIBS) $(catacomb_LIBS) | |
38 | ||
39 | ###-------------------------------------------------------------------------- | |
40 | ### Release tweaking. | |
41 | ||
42 | dist-hook:: | |
43 | echo $(VERSION) >$(distdir)/RELEASE | |
44 | ||
45 | EXTRA_DIST += config/auto-version | |
46 | ||
47 | ###-------------------------------------------------------------------------- | |
48 | ### Debian. | |
49 | ||
50 | EXTRA_DIST += debian/control debian/rules | |
51 | EXTRA_DIST += debian/copyright debian/changelog | |
52 | EXTRA_DIST += debian/compat | |
53 | ||
54 | ###----- That's all, folks -------------------------------------------------- |