summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/ssh/Makefile')
-rw-r--r--usr/src/cmd/ssh/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/usr/src/cmd/ssh/Makefile b/usr/src/cmd/ssh/Makefile
index e9584b07f4..75871373de 100644
--- a/usr/src/cmd/ssh/Makefile
+++ b/usr/src/cmd/ssh/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# 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.
@@ -19,7 +18,9 @@
#
# CDDL HEADER END
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -63,6 +64,11 @@ $(POFILE) := TARGET= $(POFILE)
all clean clobber install lint $(POFILE): $(SUBDIRS)
+clobber: FRC
+ $(RM) THIRDPARTYLICENSE
+
+all install: THIRDPARTYLICENSE
+
check: $(CHECKHDRS)
# See Makefile.msg.targ for $(MSGFILE) update instructions
@@ -82,4 +88,8 @@ _msg:
$(SUBDIRS): FRC
cd $@; pwd; $(MAKE) $(TARGET)
+# skip the summary; just include the actual license clauses.
+THIRDPARTYLICENSE: doc/LICENCE
+ $(SED) -n '/1)/,$$p' doc/LICENCE > $@
+
FRC: