summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mothra
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-01-07 02:57:39 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-01-07 02:57:39 +0100
commitce2487c3ccbad19322a38783e5af0ea398fc4243 (patch)
treebd0ddf592d76a9ac43295c17e5ba08f7b5a7ebf7 /sys/src/cmd/mothra
parent720967f9849b63881ee705ab597975db1e628b33 (diff)
mothra: remove version
Diffstat (limited to 'sys/src/cmd/mothra')
-rw-r--r--sys/src/cmd/mothra/mkfile6
-rw-r--r--sys/src/cmd/mothra/mothra.h1
2 files changed, 2 insertions, 5 deletions
diff --git a/sys/src/cmd/mothra/mkfile b/sys/src/cmd/mothra/mkfile
index 3eb71e48a..da9a2f23b 100644
--- a/sys/src/cmd/mothra/mkfile
+++ b/sys/src/cmd/mothra/mkfile
@@ -11,14 +11,12 @@ CFILES= \
rdhtml.c \
url.c \
-OFILES=${CFILES:%.c=%.$O} version.$O
+OFILES=${CFILES:%.c=%.$O}
HFILES=mothra.h html.h libpanel/panel.h libpanel/rtext.h
BIN=/$objtype/bin
</sys/src/cmd/mkone
CFLAGS=-Dplan9 -Ilibpanel
-version.c: $CFILES
- date|sed 's/^... //;s/ +/-/g;s/.*/char version[]="&";/' >version.c
$LIB:V:
cd libpanel
@@ -26,4 +24,4 @@ $LIB:V:
clean nuke:V:
@{ cd libpanel; mk $target }
- rm -f *.[$OS] [$OS].out version.c $TARG
+ rm -f *.[$OS] [$OS].out $TARG
diff --git a/sys/src/cmd/mothra/mothra.h b/sys/src/cmd/mothra/mothra.h
index 6f74d0b50..665f7084d 100644
--- a/sys/src/cmd/mothra/mothra.h
+++ b/sys/src/cmd/mothra/mothra.h
@@ -102,5 +102,4 @@ void geturl(char *, int, int, int);
int urlpost(Url*, char*);
int urlget(Url*, int);
int urlresolve(Url *);
-char version[];
Mouse mouse;