New manpage installer.
[mLib] / man / Makefile.am
... / ...
CommitLineData
1## -*-makefile-*-
2##
3## $Id: Makefile.am,v 1.1 2003/04/23 12:48:19 mdw Exp $
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##
31## $Log: Makefile.am,v $
32## Revision 1.1 2003/04/23 12:48:19 mdw
33## New manpage installer.
34##
35## Revision 1.2 1999/07/06 19:36:05 mdw
36## Various minor bugfixes.
37##
38## Revision 1.1 1999/07/06 19:14:22 mdw
39## Makefile for manual page installation. Subtle and complicated.
40##
41
42AUTOMAKE_OPTIONS = foreign
43
44manext = @manext@
45
46## --- Manual pages ---
47
48MANPAGES = \
49 alloc.3 arena.3 assoc.3 atom.3 base64.3 bits.3 bres.3 conn.3 \
50 crc32.3 darray.3 dspool.3 dstr.3 env.3 exc.3 fdflags.3 fwatch.3 \
51 hash.3 ident.3 lbuf.3 lock.3 mLib.3 mdwopt.3 pkbuf.3 pool.3 \
52 quis.3 report.3 sel.3 selbuf.3 selpk.3 sig.3 str.3 sub.3 sym.3 \
53 testrig.3 trace.3 tv.3 url.3
54
55install-man: $(MANPAGES)
56 @$(NORMAL_INSTALL)
57 $(mkinstalldirs) $(DESTDIR)$(mandir)
58 $(top_srcdir)/maninst \
59 -d $(DESTDIR)$(mandir) -s $(srcdir) \
60 -i "$(INSTALL)" -e $(manext) \
61 install $(MANPAGES)
62
63uninstall-man: $(MANPAGS)
64 @$(NORMAL_UNINSTALL)
65 $(top_srcdir)/maninst \
66 -d $(DESTDIR)$(mandir) -s $(srcdir) -e $(manext) \
67 uninstall $(MANPAGES)
68
69install-data-local: install-man
70uninstall-local: uninstall-man
71
72EXTRA_DIST = Makefile.m4 $(MANPAGES) maninst
73
74##----- That's all, folks ---------------------------------------------------