summaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-08-19 20:59:33 +0000
committerrodri <rgl@antares-labs.eu>2023-08-19 20:59:33 +0000
commitf9d08c0d2051b81bd0cbe075d54a82f79387ed83 (patch)
tree666142a4f8f49498c14c395daba2f72d34d2ca54 /mkfile
parent1e256e1f0adf0d230597138a3f02a92291924c5f (diff)
downloadstalker-f9d08c0d2051b81bd0cbe075d54a82f79387ed83.tar.gz
stalker-f9d08c0d2051b81bd0cbe075d54a82f79387ed83.tar.bz2
stalker-f9d08c0d2051b81bd0cbe075d54a82f79387ed83.zip
wrote a generic mkfile for both binaries and scripts.HEADmaster
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile13
1 files changed, 11 insertions, 2 deletions
diff --git a/mkfile b/mkfile
index a7f1ef8..7db0a16 100644
--- a/mkfile
+++ b/mkfile
@@ -1,9 +1,18 @@
</$objtype/mkfile
-BIN=/$objtype/bin
+BIN=$home/bin/$objtype/stalker
+TARG=geoparse
OFILES=\
geoparse.$O
-TARG=geoparse
+RCBIN=$home/bin/rc/stalker
+RCSCR=\
+ geolocate
</sys/src/cmd/mkone
+
+install:V: $BIN/$TARG
+ cp $RCSCR $RCBIN
+
+uninstall:V:
+ rm -f $BIN/$TARG $RCBIN/$RCSCR