src/man/Makefile
author Brock Pytlik <bpytlik@sun.com>
Mon, 16 Aug 2010 16:48:50 -0700
changeset 2026 d1b30615bc99
parent 1978 69f2ff97bcd8
child 2046 2522cde7adc2
permissions -rw-r--r--
9196 pkg(5) should have support for cryptographic manifest signatures 11611 pkg5 should provide for hash validation on manifests 16654 Expose ability to upload by file path

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#

all := TARGET = all
link := TARGET = link
link-clean := TARGET = link-clean

all:

PWD:sh = pwd 
link:
	-mkdir -p /usr/share/man/cat1 /usr/share/man/cat1m /usr/share/man/cat5
	ln -sf $(PWD)/packagemanager.1.txt /usr/share/man/cat1/packagemanager.1
	ln -sf $(PWD)/pkg.1.txt /usr/share/man/cat1/pkg.1
	ln -sf $(PWD)/pkgdep.1.txt /usr/share/man/cat1/pkgdep.1
	ln -sf $(PWD)/pkgmogrify.1.txt /usr/share/man/cat1/pkgmogrify.1
	ln -sf $(PWD)/pkgrecv.1.txt /usr/share/man/cat1/pkgrecv.1
	ln -sf $(PWD)/pkgrepo.1.txt /usr/share/man/cat1/pkgrepo.1
	ln -sf $(PWD)/pkgsend.1.txt /usr/share/man/cat1/pkgsend.1
	ln -sf $(PWD)/pkgsign.1.txt /usr/share/man/cat1/pkgsign.1
	ln -sf $(PWD)/pm-updatemanager.1.txt /usr/share/man/cat1/pm-updatemanager.1
	ln -sf $(PWD)/pkg.depotd.1m.txt /usr/share/man/cat1m/pkg.depotd.1m
	ln -sf $(PWD)/pkg.5.txt /usr/share/man/man5/pkg.5

link-clean:
	rm -f /usr/share/man/cat1/packagemanager.1
	rm -f /usr/share/man/cat1/pkg.1
	rm -f /usr/share/man/cat1/pkgrecv.1
	rm -f /usr/share/man/cat1/pkgrepo.1
	rm -f /usr/share/man/cat1/pkgsend.1
	rm -f /usr/share/man/cat1/pkgsign.1
	rm -f /usr/share/man/cat1/pm-updatemanager.1
	rm -f /usr/share/man/cat1m/pkg.depotd.1m
	rm -f /usr/share/man/cat5/pkg.5