From 8ec37e92794080529d41c866094455bc073a0258 Mon Sep 17 00:00:00 2001 From: surdeus Date: Fri, 17 Feb 2023 18:17:15 +0300 Subject: [PATCH] ... --- app/mk/inc/std/gobuild | 5 ----- app/mk/inc/std/install | 10 +--------- mkconfig | 1 + 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/app/mk/inc/std/gobuild b/app/mk/inc/std/gobuild index 3e64951..daf200c 100644 --- a/app/mk/inc/std/gobuild +++ b/app/mk/inc/std/gobuild @@ -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 diff --git a/app/mk/inc/std/install b/app/mk/inc/std/install index 598d0bd..6d90ca4 100644 --- a/app/mk/inc/std/install +++ b/app/mk/inc/std/install @@ -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 - } diff --git a/mkconfig b/mkconfig index 976b22d..b3be456 100644 --- a/mkconfig +++ b/mkconfig @@ -1,4 +1,5 @@ MKSHELL = sh <$(MKINCDIR)/config +PKG_NAME = goblin CC = cc