diff options
| author | Michael Forney <mforney@mforney.org> | 2016-04-17 16:59:21 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-04-17 16:59:21 -0700 |
| commit | 3ce9a9abf5dc913550a9d3fc9bbd073e3095e935 (patch) | |
| tree | 67acc2abf5ab638b28ec3f3e0481028922169576 | |
| parent | 20190e30ef5327c5a793598ecf21923ed5b4b658 (diff) | |
file: Simplify source list
| -rw-r--r-- | core/file/gen.rc | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/core/file/gen.rc b/core/file/gen.rc index b4029783..78fef89c 100644 --- a/core/file/gen.rc +++ b/core/file/gen.rc @@ -28,24 +28,24 @@ phony headers include/magic.h let expr '-e s@__CSECTION__@1@g -e s@__FSECTION__@5@g -e s@__VERSION__@'$version'@g -e s@__MAGIC__@/share/file/magic@g' --\ build '$outdir'/file.1 sed '$srcdir'/doc/file.man -srcs=(\ - src/magic.c\ - src/apprentice.c\ - src/softmagic.c\ - src/ascmagic.c\ - src/encoding.c\ - src/compress.c\ - src/is_tar.c\ - src/readelf.c\ - src/print.c\ - src/fsmagic.c\ - src/funcs.c\ - src/apptype.c\ - src/cdf.c\ - src/cdf_time.c\ - src/readcdf.c\ +srcs=src/^(\ + magic.c\ + apprentice.c\ + softmagic.c\ + ascmagic.c\ + encoding.c\ + compress.c\ + is_tar.c\ + readelf.c\ + print.c\ + fsmagic.c\ + funcs.c\ + apptype.c\ + cdf.c\ + cdf_time.c\ + readcdf.c\ \ - src/fmtcheck.c\ + fmtcheck.c\ ) { for(src in $srcs) cc $src '||' 'phony/$dir/headers' phony/core/zlib/headers ar libmagic.a $srcs.o |
