]> git.saurik.com Git - bison.git/commit
Implement --print-datadir.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Fri, 5 Oct 2007 02:54:33 +0000 (02:54 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Fri, 5 Oct 2007 02:54:33 +0000 (02:54 +0000)
commitd4bd22956952464408f6d1c7aa3f82fd60f9f17d
treebcc2f449490293dca2e6c19abce6805df5bec344
parent34cdeddfa54df8c85b20bf013a0b82053a5148f2
Implement --print-datadir.
* src/getargs.c (usage): Mention.
(PRINT_DATADIR_OPTION): New anonymous enum member.
(long_options): Add entry for it.
(getargs): Add case for it calling compute_pkgdatadir.
* src/output.c (output_skeleton): Encapsulate data directory
computation from here...
(prepare): ... and from here...
(compute_pkgdatadir): ... into this new function.
* src/output.h (compute_pkgdatadir): Prototype.
ChangeLog
src/getargs.c
src/output.c
src/output.h