diff options
| author | Michael Forney <mforney@mforney.org> | 2016-04-17 00:05:36 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-04-17 00:06:52 -0700 |
| commit | 49c2d3507ca26b03eebf339444d4ba9fd5112aa3 (patch) | |
| tree | 56b8b71a98d089037946285c29875e7b447f1c51 /core/sbase | |
| parent | 22e7f1a6de75218591090a2ca86c60fdfad7715c (diff) | |
Make $srcdir refer to the src directory, and add $dir for the directory containing gen.rc
Diffstat (limited to 'core/sbase')
| -rw-r--r-- | core/sbase/gen.rc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/core/sbase/gen.rc b/core/sbase/gen.rc index 530abb53..86bdb775 100644 --- a/core/sbase/gen.rc +++ b/core/sbase/gen.rc @@ -6,8 +6,6 @@ cflags\ -std'='c99 -Wall -pedantic\ -I '$outdir' -cd src - static_lib libutil.a libutil/*.c static_lib libutf.a libutf/*.c @@ -110,8 +108,8 @@ executables=(\ getconf_hdrs=( confstr limits sysconf pathconf )^_l.h getconf_outs='$outdir'/$getconf_hdrs -rule getconf_headers 'getconf=$$PWD/$srcdir/src/getconf.sh && cd $outdir && $$getconf' -build $"getconf_outs getconf_headers '|' '$srcdir/src/getconf.sh' +rule getconf_headers 'getconf=$$PWD/$srcdir/getconf.sh && cd $outdir && $$getconf' +build $"getconf_outs getconf_headers '|' '$srcdir/getconf.sh' for(exe in $executables) { if(~ $exe install) src=x$exe @@ -121,7 +119,7 @@ for(exe in $executables) { link $exe $src.c.o libutil.a libutf.a file bin/$exe '$outdir'/$exe 755 - file share/man/man1/$exe.1 '$srcdir'/src/$src.1 644 + file share/man/man1/$exe.1 '$srcdir'/$src.1 644 } stamp $getconf_hdrs |
