]> git.tuebingen.mpg.de Git - tfortune.git/commit - Makefile
Fall back to system-wide epigram directory.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 16 Jun 2019 11:46:45 +0000 (13:46 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 19 Jun 2019 09:33:08 +0000 (11:33 +0200)
commit008017ce1e1d6cf19f62451ac84b11520b80b748
tree6174aaf51612e3eabdba4ced5c60c105424e7227
parent1e2f1e61cf6865df93fda61fa4808132afb72725
Fall back to system-wide epigram directory.

If the per-user directory can not be opened, we currently print an
error message and exit. As pointed out by Adam Borowski, this is not
especially user-friendly.

This commit teaches tfortune to look in a second, system-wide location
in this case.  This location can be controlled with the --datadir
option of configure. The man page is updated accordingly.
Makefile
config.mak.in
tfortune.c
tfortune.suite.m4