Move colorfiles to folder

This commit is contained in:
Isaias Pina 2017-02-28 11:29:50 -06:00
parent ff14ccb730
commit 96073d8766
68 changed files with 4 additions and 8 deletions

View File

@ -16,7 +16,7 @@ If you have a debian system with all necessary packages installed, type
else:
1) copy conf.* files into /usr/share/grc/ or /usr/local/share/grc/,
1) copy colorfiles/conf.* files into /usr/share/grc/ or /usr/local/share/grc/,
creating directories when needed
2) copy grc.conf into /etc/

View File

@ -34,7 +34,7 @@ install -d -m 755 $RPM_BUILD_ROOT%{prefix}/bin
install -m 755 grc $RPM_BUILD_ROOT%{prefix}/bin
install -m 755 grcat $RPM_BUILD_ROOT%{prefix}/bin
install -d -m 755 $RPM_BUILD_ROOT%{prefix}/share/grc
install -m 644 conf.* $RPM_BUILD_ROOT%{prefix}/share/grc
install -m 644 colorfiles/conf.* $RPM_BUILD_ROOT%{prefix}/share/grc
install -d -m 755 $RPM_BUILD_ROOT%{confdir}
install -m 644 grc.conf $RPM_BUILD_ROOT%{confdir}
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1

View File

@ -2,11 +2,8 @@
set -e
PREFIX=$1
PREFIX=${1:-/usr/local}
ETCPREFIX=$2
if [ -z $PREFIX ]; then
PREFIX=/usr/local
fi
BINDIR=$PREFIX/bin
@ -18,7 +15,7 @@ PROFILEDIR=$CONFDIR/profile.d
mkdir -p $BINDIR || true
cp -fv grc grcat $BINDIR
mkdir -p $LIBDIR || true
cp -fv conf.* $LIBDIR
cp -fv colorfiles/conf.* $LIBDIR
mkdir -p $MANDIR/man1
cp -fv grc.1 $MANDIR/man1
cp -fv grcat.1 $MANDIR/man1
@ -26,4 +23,3 @@ mkdir -p $CONFDIR
cp -fv grc.conf $CONFDIR
mkdir -p $PROFILEDIR
cp -fv grc.bashrc $PROFILEDIR