X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/b3b4cfb6db33009a708bbbf4a877f2c72ae4b0a2..c3b137c89815fa04d04abbad0badc779b99c12e8:/man/Makefile.am diff --git a/man/Makefile.am b/man/Makefile.am new file mode 100644 index 0000000..7006695 --- /dev/null +++ b/man/Makefile.am @@ -0,0 +1,74 @@ +## -*-makefile-*- +## +## $Id: Makefile.am,v 1.1 2003/04/23 12:48:19 mdw Exp $ +## +## Makefile for mLib's manual pages +## +## (c) 1999 Straylight/Edgeware +## + +##----- Licensing notice ---------------------------------------------------- +## +## This file is part of the mLib utilities library. +## +## mLib is free software; you can redistribute it and/or modify +## it under the terms of the GNU Library General Public License as +## published by the Free Software Foundation; either version 2 of the +## License, or (at your option) any later version. +## +## mLib is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU Library General Public License for more details. +## +## You should have received a copy of the GNU Library General Public +## License along with mLib; if not, write to the Free +## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, +## MA 02111-1307, USA. + +##----- Revision history ---------------------------------------------------- +## +## $Log: Makefile.am,v $ +## Revision 1.1 2003/04/23 12:48:19 mdw +## New manpage installer. +## +## Revision 1.2 1999/07/06 19:36:05 mdw +## Various minor bugfixes. +## +## Revision 1.1 1999/07/06 19:14:22 mdw +## Makefile for manual page installation. Subtle and complicated. +## + +AUTOMAKE_OPTIONS = foreign + +manext = @manext@ + +## --- Manual pages --- + +MANPAGES = \ + alloc.3 arena.3 assoc.3 atom.3 base64.3 bits.3 bres.3 conn.3 \ + crc32.3 darray.3 dspool.3 dstr.3 env.3 exc.3 fdflags.3 fwatch.3 \ + hash.3 ident.3 lbuf.3 lock.3 mLib.3 mdwopt.3 pkbuf.3 pool.3 \ + quis.3 report.3 sel.3 selbuf.3 selpk.3 sig.3 str.3 sub.3 sym.3 \ + testrig.3 trace.3 tv.3 url.3 + +install-man: $(MANPAGES) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(mandir) + $(top_srcdir)/maninst \ + -d $(DESTDIR)$(mandir) -s $(srcdir) \ + -i "$(INSTALL)" -e $(manext) \ + install $(MANPAGES) + +uninstall-man: $(MANPAGS) + @$(NORMAL_UNINSTALL) + $(top_srcdir)/maninst \ + -d $(DESTDIR)$(mandir) -s $(srcdir) -e $(manext) \ + uninstall $(MANPAGES) + +install-data-local: install-man +uninstall-local: uninstall-man + +EXTRA_DIST = Makefile.m4 $(MANPAGES) maninst + +##----- That's all, folks ---------------------------------------------------