f5984284 |
1 | ## -*-makefile-*- |
2 | ## |
ad61a8f8 |
3 | ## $Id: Makefile.am,v 1.5 2003/11/29 11:59:17 mdw Exp $ |
f5984284 |
4 | ## |
5 | ## Makefile for mLib's manual pages |
6 | ## |
7 | ## (c) 1999 Straylight/Edgeware |
8 | ## |
9 | |
10 | ##----- Licensing notice ---------------------------------------------------- |
11 | ## |
12 | ## This file is part of the mLib utilities library. |
13 | ## |
14 | ## mLib is free software; you can redistribute it and/or modify |
15 | ## it under the terms of the GNU Library General Public License as |
16 | ## published by the Free Software Foundation; either version 2 of the |
17 | ## License, or (at your option) any later version. |
18 | ## |
19 | ## mLib is distributed in the hope that it will be useful, |
20 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
22 | ## GNU Library General Public License for more details. |
23 | ## |
24 | ## You should have received a copy of the GNU Library General Public |
25 | ## License along with mLib; if not, write to the Free |
26 | ## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
27 | ## MA 02111-1307, USA. |
28 | |
29 | ##----- Revision history ---------------------------------------------------- |
30 | ## |
c3b137c8 |
31 | ## $Log: Makefile.am,v $ |
ad61a8f8 |
32 | ## Revision 1.5 2003/11/29 11:59:17 mdw |
33 | ## Various stuff. |
34 | ## |
fb3c7527 |
35 | ## Revision 1.4 2003/11/09 13:48:32 mdw |
36 | ## Ooops. Fix distribution. |
37 | ## |
7c14e955 |
38 | ## Revision 1.3 2003/11/09 13:13:49 mdw |
39 | ## Document crc-mktab a little. |
40 | ## |
aeec452c |
41 | ## Revision 1.2 2003/05/16 00:24:05 mdw |
42 | ## maninst isn't shipped here. |
43 | ## |
c3b137c8 |
44 | ## Revision 1.1 2003/04/23 12:48:19 mdw |
45 | ## New manpage installer. |
46 | ## |
c255a2ee |
47 | ## Revision 1.2 1999/07/06 19:36:05 mdw |
48 | ## Various minor bugfixes. |
49 | ## |
f5984284 |
50 | ## Revision 1.1 1999/07/06 19:14:22 mdw |
51 | ## Makefile for manual page installation. Subtle and complicated. |
52 | ## |
53 | |
c3b137c8 |
54 | AUTOMAKE_OPTIONS = foreign |
f5984284 |
55 | |
c3b137c8 |
56 | manext = @manext@ |
f5984284 |
57 | |
58 | ## --- Manual pages --- |
59 | |
c3b137c8 |
60 | MANPAGES = \ |
7c14e955 |
61 | crc-mktab.1 |
62 | |
63 | MANPAGESEXT = \ |
c3b137c8 |
64 | alloc.3 arena.3 assoc.3 atom.3 base64.3 bits.3 bres.3 conn.3 \ |
65 | crc32.3 darray.3 dspool.3 dstr.3 env.3 exc.3 fdflags.3 fwatch.3 \ |
66 | hash.3 ident.3 lbuf.3 lock.3 mLib.3 mdwopt.3 pkbuf.3 pool.3 \ |
67 | quis.3 report.3 sel.3 selbuf.3 selpk.3 sig.3 str.3 sub.3 sym.3 \ |
ad61a8f8 |
68 | testrig.3 trace.3 tv.3 url.3 hex.3 fdpass.3 |
f5984284 |
69 | |
c3b137c8 |
70 | install-man: $(MANPAGES) |
71 | @$(NORMAL_INSTALL) |
72 | $(mkinstalldirs) $(DESTDIR)$(mandir) |
73 | $(top_srcdir)/maninst \ |
74 | -d $(DESTDIR)$(mandir) -s $(srcdir) \ |
7c14e955 |
75 | -i "$(INSTALL)" \ |
c3b137c8 |
76 | install $(MANPAGES) |
7c14e955 |
77 | $(top_srcdir)/maninst \ |
78 | -d $(DESTDIR)$(mandir) -s $(srcdir) \ |
79 | -i "$(INSTALL)" -e $(manext) \ |
80 | install $(MANPAGESEXT) |
f5984284 |
81 | |
c3b137c8 |
82 | uninstall-man: $(MANPAGS) |
83 | @$(NORMAL_UNINSTALL) |
84 | $(top_srcdir)/maninst \ |
7c14e955 |
85 | -d $(DESTDIR)$(mandir) -s $(srcdir) \ |
c3b137c8 |
86 | uninstall $(MANPAGES) |
7c14e955 |
87 | $(top_srcdir)/maninst \ |
88 | -d $(DESTDIR)$(mandir) -s $(srcdir) -e $(manext) \ |
89 | uninstall $(MANPAGESEXT) |
f5984284 |
90 | |
c3b137c8 |
91 | install-data-local: install-man |
92 | uninstall-local: uninstall-man |
f5984284 |
93 | |
fb3c7527 |
94 | EXTRA_DIST = $(MANPAGES) $(MANPAGESEXT) |
f5984284 |
95 | |
96 | ##----- That's all, folks --------------------------------------------------- |