ref: aadab41d41ce65a7a8de0c7b58356366957dc054
parent: 99adb24d9994bbb63c5f26003632ed94d9e4eaab
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Aug 17 16:29:22 EDT 2023
install the manpage
--- /dev/null
+++ b/mkfile
@@ -1,0 +1,36 @@
+</$objtype/mkfile
+
+TARG=sox
+BIN=/$objtype/bin/audio
+MAN=/sys/man/1
+CFLAGS=$CFLAGS -p -D__plan9__ -I/sys/include/npe -Isrc -Isrc/plan9
+LIB=src/libsox.a$O
+
+OFILES=\
+ src/sox.$O\
+
+HFILES=\
+ src/sox.h\
+
+default:V: all
+
+$MAN/sox: sox.1
+ cp $prereq $target
+
+</sys/src/cmd/mkone
+
+%.$O: %.c
+ $CC $CFLAGS -o $target $stem.c
+
+$LIB:
+ cd src && mk
+
+clean:V:
+ rm -f [$OS].out $TARG
+ cd src && mk clean
+
+nuke:V:
+ rm -f [$OS].out *.acid $TARG
+ cd src && mk nuke
+
+install:V: man