2023-02-16 20:04:38 +03:00
|
|
|
install:V: install-$MKSHELL
|
|
|
|
install-sh:VQ: build
|
|
|
|
if test -d shr ; then
|
|
|
|
echo Installing shared files...
|
|
|
|
cp -rf shr $HOME/shr/..
|
|
|
|
echo Done installing shared files
|
|
|
|
fi
|
|
|
|
if test -d app ; then
|
|
|
|
echo Installing application files...
|
2023-03-10 16:13:55 +03:00
|
|
|
echo "'$HOME'"
|
2023-03-08 16:39:50 +03:00
|
|
|
echo "'$APPDIR'"
|
2023-03-08 22:26:23 +03:00
|
|
|
echo `goblin paths app/* $APPDIR/$PKG_NAME/`
|
|
|
|
#goblin mkdir -p `goblin path $APPDIR/$PKG_NAME` && cp -rf `goblin paths app/* $APPDIR/$PKG_NAME/`
|
2023-02-16 20:04:38 +03:00
|
|
|
echo Done installing application files
|
|
|
|
fi
|
|
|
|
if test -d exe ; then
|
|
|
|
echo Installing executables...
|
2023-03-08 22:26:23 +03:00
|
|
|
goblin mkdir -p $EXEDIR
|
2023-02-17 13:43:56 +03:00
|
|
|
cp -rf exe/* $EXEDIR/
|
2023-02-16 20:04:38 +03:00
|
|
|
files=`goblin basename $(ls exe)`
|
|
|
|
for i in $files ; do
|
|
|
|
chmod 0755 $EXEDIR/$i
|
|
|
|
done
|
|
|
|
echo Done installing executables
|
|
|
|
fi
|
|
|
|
|