mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Removed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@8635 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1d5f1e60ca
commit
363658ded8
5 changed files with 0 additions and 215 deletions
|
@ -1,25 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# install-complete-dir.sh
|
||||
#
|
||||
# Install a complete directory with all what it contains
|
||||
#
|
||||
# Copyright (C) 2001 Free Software Foundation, Inc.
|
||||
#
|
||||
# Author: Nicola Pero <n.pero@mi.flashnet.it>
|
||||
#
|
||||
# This file is part of the GNUstep Makefile Package.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this library; see the file COPYING.LIB.
|
||||
# If not, write to the Free Software Foundation,
|
||||
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
# TODO - check argument number
|
||||
|
||||
@TAR@ cf - $1 | (cd $2; @TAR@ xf -)
|
|
@ -1,81 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# log-install.sh
|
||||
#
|
||||
# Shell script accepting arguments in the way install traditionally
|
||||
# does, but logging what has to be installed to the file $FILE_LIST
|
||||
# rather than really installing it
|
||||
#
|
||||
# Copyright (C) 2001 Free Software Foundation, Inc.
|
||||
#
|
||||
# Author: Nicola Pero <n.pero@mi.flashnet.it>
|
||||
#
|
||||
# This file is part of the GNUstep Makefile Package.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this library; see the file COPYING.LIB.
|
||||
# If not, write to the Free Software Foundation,
|
||||
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
if [ -z "$FILE_LIST" ]; then
|
||||
echo "error - FILE_LIST shell variable not set"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
last_read=""
|
||||
src=""
|
||||
dst=""
|
||||
|
||||
while test $# -gt 0; do
|
||||
case $1 in
|
||||
# ignore -c, -s:
|
||||
-[cs]) ;;
|
||||
# ignore -m, -o, -g and skip their argument:
|
||||
-[mog]) shift;;
|
||||
# record everything but the last argument as source
|
||||
*) if [ "$last_read" = "" ]; then
|
||||
last_read=$1
|
||||
else # not the first file in the list
|
||||
src="$src $last_read"
|
||||
last_read=$1
|
||||
fi
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
# the last one is the destionation
|
||||
dst=$last_read
|
||||
|
||||
if [ "$last_read" = "" ]; then
|
||||
echo "error - no input file specified"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$src" = "" ]; then
|
||||
echo "error - no destination specified"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# Now, `dst' is the destination, and `src' is the list of source files
|
||||
#
|
||||
|
||||
# If destination is a directory, append the input filename;
|
||||
if [ -d $dst ]; then
|
||||
for file in $src; do
|
||||
echo "$dst"/`basename $file` >> "$FILE_LIST" ;
|
||||
done
|
||||
else
|
||||
# otherwise, simply output the destination
|
||||
echo "$dst" >> "$FILE_LIST"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# install-complete-dir.sh
|
||||
#
|
||||
# Install a complete directory with all what it contains
|
||||
#
|
||||
# Copyright (C) 2001 Free Software Foundation, Inc.
|
||||
#
|
||||
# Author: Nicola Pero <n.pero@mi.flashnet.it>
|
||||
#
|
||||
# This file is part of the GNUstep Makefile Package.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this library; see the file COPYING.LIB.
|
||||
# If not, write to the Free Software Foundation,
|
||||
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
if [ -z "$FILE_LIST" ]; then
|
||||
echo "error - FILE_LIST shell variable not set"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# TODO - check argument number
|
||||
|
||||
for file in `@TAR@ cf - $1 | @TAR@ t`; do
|
||||
if [ -d "$2/$file" ]; then
|
||||
echo "%dir $2/$file" >> $FILE_LIST
|
||||
else
|
||||
echo "$2/$file" >> $FILE_LIST
|
||||
fi
|
||||
done
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# log-install_ln_s.sh
|
||||
#
|
||||
# Shell script accepting arguments in the way ln -s traditionally
|
||||
# does, but logging the new symbolic link into to the file $FILE_LIST
|
||||
# rather than really creating it
|
||||
#
|
||||
# Copyright (C) 2001 Free Software Foundation, Inc.
|
||||
#
|
||||
# Author: Nicola Pero <n.pero@mi.flashnet.it>
|
||||
#
|
||||
# This file is part of the GNUstep Makefile Package.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this library; see the file COPYING.LIB.
|
||||
# If not, write to the Free Software Foundation,
|
||||
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
if [ -z "$FILE_LIST" ]; then
|
||||
echo "error - FILE_LIST shell variable not set"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
link_file=""
|
||||
|
||||
while test $# -gt 0; do
|
||||
case $1 in
|
||||
# ignore -f, -v:
|
||||
-[fv]) ;;
|
||||
# discard everything but the last argument
|
||||
*) link_file=$1 ;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if [ "$link_file" = "" ]; then
|
||||
echo "error - no link file specified"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# Now, `link_link' is the link to be created, add
|
||||
# it to the file list
|
||||
#
|
||||
echo `pwd`/"$link_file" >> "$FILE_LIST"
|
||||
|
||||
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
# Generated automatically by GNUstep
|
||||
%define ver @VERSION@
|
||||
%define date @DATE@
|
||||
%define gsr @GID@
|
||||
%define libcombo @LIBRARY_COMBO@
|
||||
Name: @PACKAGE_NAME@
|
||||
Version: %{ver}
|
||||
Release: @RPM_RELEASE@
|
||||
Prefix: %{gsr}
|
||||
Source: @PACKAGE_SOURCE@
|
||||
Copyright: @PACKAGE_COPYRIGHT@
|
||||
Group: @RPM_GROUP@
|
||||
Summary: @PACKAGE_SUMMARY@
|
||||
Packager: @PACKAGER@
|
||||
Distribution: @RPM_DIST@
|
||||
Vendor: @RPM_VENDOR@
|
||||
URL: @PACKAGE_URL@
|
||||
BuildRoot: /var/tmp/build-%{name}
|
Loading…
Reference in a new issue