summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2017-08-30 20:39:28 -0700
committerMichael Forney <mforney@mforney.org>2017-09-01 19:07:48 -0700
commit1dd50b8a9df9fbad661fa7b02eb46fb4dd0e03b4 (patch)
treeb104e71dae827863eeea4dca2f19d83ff331868e
parent478ea3bf7d23b593e12a11da23559f7429628a40 (diff)
Remove obsolete tool variables
We don't use lex, python, or perl for build. For yacc and zic, just remove the variables. It is unlikely that they need to be changed.
-rw-r--r--build.ninja6
-rw-r--r--pkg/tz/gen.rc2
-rw-r--r--rules.ninja2
3 files changed, 2 insertions, 8 deletions
diff --git a/build.ninja b/build.ninja
index c2edf028..0b1e29fc 100644
--- a/build.ninja
+++ b/build.ninja
@@ -10,12 +10,6 @@ host_cflags = -pipe
host_cxxflags = $host_cflags
host_ldflags =
-lex = lex
-perl = perl
-python = python
-yacc = yacc
-zic = zic
-
repo = $builddir/root.git
repo_flags = --bare
repo_tag = tree
diff --git a/pkg/tz/gen.rc b/pkg/tz/gen.rc
index 842b068e..33390520 100644
--- a/pkg/tz/gen.rc
+++ b/pkg/tz/gen.rc
@@ -2,7 +2,7 @@ cflags -I '$dir'
exe zic zic.c
-rule zic '$zic -d $outdir/zoneinfo $in'
+rule zic 'zic -d $outdir/zoneinfo $in'
file bin/zic '$outdir'/zic 755
tzdata=(\
diff --git a/rules.ninja b/rules.ninja
index 7680ab5e..d1cf6de8 100644
--- a/rules.ninja
+++ b/rules.ninja
@@ -59,7 +59,7 @@ rule gzip
command = gzip -c -9 -n <$in >$out.tmp && mv $out.tmp $out
rule yacc
- command = cd $outdir && $yacc $yaccflags $$OLDPWD/$in
+ command = cd $outdir && yacc $yaccflags $$OLDPWD/$in
rule sed
command = sed $expr $in >$out.tmp && mv $out.tmp $out