[BACK]Return to Makefile.am CVS log [TXT][DIR] Up to [local] / ircnowd / doc

Annotation of ircnowd/doc/Makefile.am, Revision 1.1

1.1     ! tomglok     1: #
        !             2: # ngIRCd -- The Next Generation IRC Daemon
        !             3: # Copyright (c)2001-2020 Alexander Barton (alex@barton.de) and Contributors
        !             4: #
        !             5: # This program is free software; you can redistribute it and/or modify
        !             6: # it under the terms of the GNU General Public License as published by
        !             7: # the Free Software Foundation; either version 2 of the License, or
        !             8: # (at your option) any later version.
        !             9: # Please read the file COPYING, README and AUTHORS for more information.
        !            10: #
        !            11:
        !            12: .tmpl:
        !            13:        $(AM_V_GEN)sed \
        !            14:            -e "s@:ETCDIR:@${sysconfdir}@" \
        !            15:            -e "s@:DOCDIR:@${docdir}@" \
        !            16:            <$< >$@
        !            17:
        !            18: SUFFIXES = .tmpl
        !            19:
        !            20: static_docs = \
        !            21:        Bopm.txt \
        !            22:        Capabilities.txt \
        !            23:        Commands.txt \
        !            24:        Contributing.txt \
        !            25:        FAQ.txt \
        !            26:        HowToRelease.txt \
        !            27:        Modes.txt \
        !            28:        PAM.txt \
        !            29:        Platforms.txt \
        !            30:        Protocol.txt \
        !            31:        README-AUX.txt \
        !            32:        README-BeOS.txt \
        !            33:        README-Interix.txt \
        !            34:        RFC.txt \
        !            35:        Services.txt \
        !            36:        SSL.txt
        !            37:
        !            38: doc_templates = sample-ngircd.conf.tmpl
        !            39:
        !            40: generated_docs = sample-ngircd.conf
        !            41:
        !            42: toplevel_docs = ../AUTHORS ../COPYING ../ChangeLog ../INSTALL.md ../NEWS ../README.md
        !            43:
        !            44: SUBDIRS = src
        !            45:
        !            46: EXTRA_DIST = $(static_docs) $(doc_templates)
        !            47:
        !            48: CLEANFILES = $(generated_docs)
        !            49:
        !            50: maintainer-clean-local:
        !            51:        rm -f Makefile Makefile.in
        !            52:
        !            53: all: $(generated_docs)
        !            54:
        !            55: install-data-hook: $(static_docs) $(toplevel_docs) $(generated_docs)
        !            56:        $(MKDIR_P) -m 755 $(DESTDIR)$(sysconfdir)
        !            57:        @if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \
        !            58:          ${MAKE} install-config; \
        !            59:         fi
        !            60:        $(MKDIR_P) -m 755 $(DESTDIR)$(docdir)
        !            61:        for f in $(static_docs) $(toplevel_docs); do \
        !            62:          $(INSTALL) -m 644 -c $(srcdir)/$$f $(DESTDIR)$(docdir)/; \
        !            63:         done
        !            64:        for f in $(generated_docs); do \
        !            65:          $(INSTALL) -m 644 -c $$f $(DESTDIR)$(docdir)/; \
        !            66:         done
        !            67:
        !            68: install-config:
        !            69:        $(INSTALL) -m 600 -c sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf
        !            70:        @echo; \
        !            71:         echo " ** NOTE: Installed sample configuration file:"; \
        !            72:         echo " ** \"$(DESTDIR)$(sysconfdir)/ngircd.conf\""; \
        !            73:         echo
        !            74:
        !            75: uninstall-hook:
        !            76:        rm -rf $(DESTDIR)$(docdir)
        !            77:        @if cmp --silent sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf; then \
        !            78:          ${MAKE} uninstall-config; \
        !            79:         else \
        !            80:          echo; \
        !            81:          echo " ** NOTE: Not uninstalling changed configuration file:"; \
        !            82:          echo " ** \"$(DESTDIR)$(sysconfdir)/ngircd.conf\""; \
        !            83:          echo; \
        !            84:         fi
        !            85:
        !            86: uninstall-config:
        !            87:        rm -f $(DESTDIR)$(sysconfdir)/ngircd.conf
        !            88:
        !            89: srcdoc:
        !            90:        ${MAKE} -C src srcdoc
        !            91:
        !            92: .PHONY: install-config uninstall-config srcdoc
        !            93:
        !            94: # -eof-

CVSweb