diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/.cvsignore | 2 | ||||
-rw-r--r-- | man/CMakeLists.txt | 28 | ||||
-rw-r--r-- | man/Makefile.am | 5 |
3 files changed, 29 insertions, 6 deletions
diff --git a/man/.cvsignore b/man/.cvsignore deleted file mode 100644 index 282522db034..00000000000 --- a/man/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt new file mode 100644 index 00000000000..7c96deada08 --- /dev/null +++ b/man/CMakeLists.txt @@ -0,0 +1,28 @@ +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +# Copy man pages +FILE(GLOB MAN1_FILES *.1) +FILE(GLOB MAN1_EXCLUDE make_win_bin_dist.1) +FILE(GLOB MAN8_FILES *.8) +IF(MAN1_FILES) + IF(MAN1_EXCLUDE) + LIST(REMOVE_ITEM MAN1_FILES ${MAN1_EXCLUDE}) + ENDIF() + INSTALL(FILES ${MAN1_FILES} DESTINATION ${INSTALL_MANDIR}/man1) +ENDIF() +IF(MAN8_FILES) + INSTALL(FILES ${MAN8_FILES} DESTINATION ${INSTALL_MANDIR}/man8) +ENDIF() diff --git a/man/Makefile.am b/man/Makefile.am index 72e67f7445f..027edccc249 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -19,11 +19,8 @@ man1_MANS = @man1_files@ man8_MANS = @man8_files@ -EXTRA_DIST = $(man1_MANS) $(man8_MANS) +EXTRA_DIST = $(man1_MANS) $(man8_MANS) CMakeLists.txt # "make_win_*" are not needed in Unix binary packages, install-data-hook: rm -f $(DESTDIR)$(mandir)/man1/make_win_* - -# Don't update the files from bitkeeper -%::SCCS/s.% |