This commit is contained in:
Andrey Parhomenko 2023-02-17 18:17:15 +03:00
parent 0e0d0696bc
commit 8ec37e9279
3 changed files with 2 additions and 14 deletions

View file

@ -1,9 +1,4 @@
all :V: build
strip :V: $STRIPTARG
%.strip : %
cp -f $prereq $target
$STRIP $target
build :VQ: build-$MKSHELL
build-sh :VQ:
mkdir -p exe

View file

@ -7,7 +7,7 @@ install-sh:VQ: build
fi
if test -d app ; then
echo Installing application files...
mkdir -p $APPDIR/$PROGNAME && cp -rf app/* $APPDIR/$PROGNAME/
mkdir -p $APPDIR/$PKG_NAME && cp -rf app/* $APPDIR/$PKG_NAME/
echo Done installing application files
fi
if test -d exe ; then
@ -20,12 +20,4 @@ install-sh:VQ: build
done
echo Done installing executables
fi
install-rc:V: build
if(test -d shr) cp -rf shr $SHRDIR/..
if(test -d app){ mkdir -p $APPDIR/$PROGNAME && cp -rf app/* $APPDIR/$PROGNAME/ }
if(test -d exe) {
cp -rf exe $EXEDIR/..
files = `{goblin basename `{ls exe} }
chmod 0755 $EXEDIR/^$files
}

View file

@ -1,4 +1,5 @@
MKSHELL = sh
<$(MKINCDIR)/config
PKG_NAME = goblin
CC = cc