From 1dd50b8a9df9fbad661fa7b02eb46fb4dd0e03b4 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Wed, 30 Aug 2017 20:39:28 -0700 Subject: 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. --- build.ninja | 6 ------ pkg/tz/gen.rc | 2 +- rules.ninja | 2 +- 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 -- cgit v1.2.3