open-src/app/xman/Makefile
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Fri, 08 Aug 2008 16:27:37 -0700
changeset 493 f43507b5737d
parent 424 aea912794e10
child 851 d428083dbbdd
permissions -rw-r--r--
6735203 open-src Makefile cleanup & enhancements
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
424
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     1
###############################################################################
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     2
#
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     3
# xman 1.x Makefile
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     4
#
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     5
# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     6
# Use subject to license terms.
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     7
#
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     8
# Permission is hereby granted, free of charge, to any person obtaining a
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     9
# copy of this software and associated documentation files (the
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    10
# "Software"), to deal in the Software without restriction, including
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    11
# without limitation the rights to use, copy, modify, merge, publish,
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    12
# distribute, and/or sell copies of the Software, and to permit persons
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    13
# to whom the Software is furnished to do so, provided that the above
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    14
# copyright notice(s) and this permission notice appear in all copies of
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    15
# the Software and that both the above copyright notice(s) and this
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    16
# permission notice appear in supporting documentation.
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    17
# 
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    19
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    20
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    21
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    22
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    23
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    24
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    25
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    26
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    27
# 
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    28
# Except as contained in this notice, the name of a copyright holder
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    29
# shall not be used in advertising or otherwise to promote the sale, use
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    30
# or other dealings in this Software without prior written authorization
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    31
# of the copyright holder.
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    32
#
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 424
diff changeset
    33
# @(#)Makefile	1.2 08/08/08
424
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    34
#
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    35
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    36
# Package name used in tarballs
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 424
diff changeset
    37
MODULE_NAME=xman
424
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    38
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    39
# Version number (used in path names)
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 424
diff changeset
    40
MODULE_VERSION=1.0.3
424
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    41
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    42
# Patches to apply to source after unpacking, in order
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    43
SOURCE_PATCHES = 6708109.patch
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    44
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    45
# Man pages to apply Sun footer to & attributes to list
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    46
SUNTOUCHED_MANPAGES=*.man
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 424
diff changeset
    47
SUN_PACKAGE=SUNWxwopt
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 424
diff changeset
    48
MODULE_STABILITY=Committed
424
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    49
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    50
include ../Makefile.inc
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    51
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    52
install_gen:: install_po
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    53
install_po:
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    54
	mkdir -p $(PROTODIR)/usr/X11/share/locale/C/LC_MESSAGES
aea912794e10 6708109 Update xman to the opensrc version from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    55
	cp -f xman.po $(PROTODIR)/usr/X11/share/locale/C/LC_MESSAGES