~cairo-dock-team/ubuntu/oneiric/cairo-dock/2.3.0-3

« back to all changes in this revision

Viewing changes to data/man/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2010-08-09 23:26:12 UTC
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: james.westby@ubuntu.com-20100809232612-pocdxliaxjdetm37
Tags: upstream-2.2.0~0beta4
ImportĀ upstreamĀ versionĀ 2.2.0~0beta4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
INSTALL(FILES cairo-dock_en.1.gz
 
2
        DESTINATION "${mandir}/man1"
 
3
        PERMISSIONS OWNER_READ GROUP_READ WORLD_READ RENAME cairo-dock.1.gz)
 
4
 
 
5
############## Man pages ################ =>  # doesn't work... #
 
6
#FIND_PROGRAM(GZIP_TOOL
 
7
#             NAMES gzip
 
8
#             PATHS /bin
 
9
#                   /usr/bin
 
10
#                   /usr/local/bin)
 
11
#IF(NOT GZIP_TOOL)
 
12
#  MESSAGE(FATAL_ERROR "Unable to find 'gzip' program")
 
13
#ENDIF(NOT GZIP_TOOL)
 
14
#SET(cairo_dock_man_src cairo-dock_en.1) # cairo-dock_fr.1 cairo-dock_it.1)
 
15
#SET(cairo_dock_man_gz cairo-dock_en.1.gz)
 
16
 
 
17
# Compression of the manuals
 
18
#FOREACH(man ${cairo_dock_man_src})
 
19
#  ADD_CUSTOM_COMMAND(OUTPUT ${man}.gz
 
20
#                     COMMAND ${GZIP_TOOL} -c ${man} > ${man}.gz
 
21
#                     DEPENDS ${man}
 
22
#                     COMMENT "Building ${man}.gz")
 
23
#ENDFOREACH(man)
 
24
# Installation of the manuals