From f61beda6d628f72a0357e2066d4e03cf52f0ba03 Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Mon, 31 Mar 2014 13:02:00 -0400 Subject: [PATCH] readme: move the LICENSE file to the top level directory Move the LICENSE file to the top directory to make it more visible and to clean up the src directory. Update the top level make file and redhat packaging to accomodate the new path to the LICENSE file. Change-Id: I64b655584cf61b8a45c6d6788a84aff31df8e83e Reviewed-on: http://gerrit.openafs.org/10972 Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- src/LICENSE => LICENSE | 0 Makefile.in | 6 +++--- README | 2 +- src/packaging/RedHat/openafs.spec.in | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename src/LICENSE => LICENSE (100%) diff --git a/src/LICENSE b/LICENSE similarity index 100% rename from src/LICENSE rename to LICENSE diff --git a/Makefile.in b/Makefile.in index 08174091b..429877576 100644 --- a/Makefile.in +++ b/Makefile.in @@ -81,15 +81,15 @@ install_only_libafs: only_libafs install_dirs dest: all dest_dirs $(MAKE) build COMPILE_PART2B=dest - -${INSTALL_DATA} ${srcdir}/src/LICENSE ${DEST}/LICENSE + -${INSTALL_DATA} ${srcdir}/LICENSE ${DEST}/LICENSE dest_nolibafs: all_nolibafs dest_dirs $(MAKE) build TARGET=finale_nolibafs COMPILE_PART2B=dest - -${INSTALL_DATA} ${srcdir}/src/LICENSE ${DEST}/LICENSE + -${INSTALL_DATA} ${srcdir}/LICENSE ${DEST}/LICENSE dest_only_libafs: only_libafs dest_dirs $(MAKE) build TARGET=libafs COMPILE_PART2B=dest - -${INSTALL_DATA} ${srcdir}/src/LICENSE ${DEST}/LICENSE + -${INSTALL_DATA} ${srcdir}/LICENSE ${DEST}/LICENSE packages: dest @case ${SYS_NAME} in \ diff --git a/README b/README index e65d1c903..f4bdf6437 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ Copyright 2000, International Business Machines Corporation and others. All Rights Reserved. This software has been released under the terms of the IBM Public -License. For details, see the LICENSE file in the top-level source +License. For details, see the LICENSE file in the top-level directory or online at http://www.openafs.org/dl/license10.html Short instructions for sites upgrading from a previous version of AFS: diff --git a/src/packaging/RedHat/openafs.spec.in b/src/packaging/RedHat/openafs.spec.in index f8b5faa6e..3a8659552 100644 --- a/src/packaging/RedHat/openafs.spec.in +++ b/src/packaging/RedHat/openafs.spec.in @@ -780,7 +780,7 @@ tar cf - -C libafs_tree . | \ tar xf - -C $RPM_BUILD_ROOT%{_prefix}/src/openafs-kernel-%{afsvers}/src # Next, copy the LICENSE Files, README -install -m 644 src/LICENSE $RPM_BUILD_ROOT%{_prefix}/src/openafs-kernel-%{afsvers}/LICENSE.IBM +install -m 644 LICENSE $RPM_BUILD_ROOT%{_prefix}/src/openafs-kernel-%{afsvers}/LICENSE.IBM install -m 644 src/packaging/RedHat/openafs-LICENSE.Sun $RPM_BUILD_ROOT%{_prefix}/src/openafs-kernel-%{afsvers}/LICENSE.Sun install -m 644 src/packaging/RedHat/openafs-README $RPM_BUILD_ROOT%{_prefix}/src/openafs-kernel-%{afsvers}/README -- 2.39.5