f5984284 |
1 | ## -*-makefile-*- |
2 | ## |
1c4fa429 |
3 | ## $Id$ |
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 | |
c3b137c8 |
29 | AUTOMAKE_OPTIONS = foreign |
f5984284 |
30 | |
c3b137c8 |
31 | manext = @manext@ |
f5984284 |
32 | |
33 | ## --- Manual pages --- |
34 | |
c3b137c8 |
35 | MANPAGES = \ |
18756bee |
36 | crc-mktab.1 unihash-mkstatic.1 |
7c14e955 |
37 | |
38 | MANPAGESEXT = \ |
1c4fa429 |
39 | alloc.3 arena.3 assoc.3 atom.3 base32.3 base64.3 bits.3 bres.3 \ |
1ecb4530 |
40 | buf.3 conn.3 crc32.3 darray.3 dspool.3 dstr.3 env.3 exc.3 \ |
41 | fdflags.3 fwatch.3 hash.3 ident.3 lbuf.3 lock.3 mLib.3 mdwopt.3 \ |
42 | pkbuf.3 pool.3 quis.3 report.3 sel.3 selbuf.3 selpk.3 sig.3 \ |
43 | str.3 sub.3 sym.3 testrig.3 trace.3 tv.3 url.3 hex.3 fdpass.3 \ |
44 | macros.3 unihash.3 |
f5984284 |
45 | |
c3b137c8 |
46 | install-man: $(MANPAGES) |
47 | @$(NORMAL_INSTALL) |
48 | $(mkinstalldirs) $(DESTDIR)$(mandir) |
49 | $(top_srcdir)/maninst \ |
50 | -d $(DESTDIR)$(mandir) -s $(srcdir) \ |
7c14e955 |
51 | -i "$(INSTALL)" \ |
c3b137c8 |
52 | install $(MANPAGES) |
7c14e955 |
53 | $(top_srcdir)/maninst \ |
54 | -d $(DESTDIR)$(mandir) -s $(srcdir) \ |
55 | -i "$(INSTALL)" -e $(manext) \ |
56 | install $(MANPAGESEXT) |
f5984284 |
57 | |
c3b137c8 |
58 | uninstall-man: $(MANPAGS) |
59 | @$(NORMAL_UNINSTALL) |
60 | $(top_srcdir)/maninst \ |
7c14e955 |
61 | -d $(DESTDIR)$(mandir) -s $(srcdir) \ |
c3b137c8 |
62 | uninstall $(MANPAGES) |
7c14e955 |
63 | $(top_srcdir)/maninst \ |
64 | -d $(DESTDIR)$(mandir) -s $(srcdir) -e $(manext) \ |
65 | uninstall $(MANPAGESEXT) |
f5984284 |
66 | |
c3b137c8 |
67 | install-data-local: install-man |
68 | uninstall-local: uninstall-man |
f5984284 |
69 | |
fb3c7527 |
70 | EXTRA_DIST = $(MANPAGES) $(MANPAGESEXT) |
f5984284 |
71 | |
72 | ##----- That's all, folks --------------------------------------------------- |