* Generate the manpage in the make rule, not the configure rule, because

at configure time ${datarootdir} depends on ${prefix} which is defined
    a bit too late in the script.
This commit is contained in:
Sam Hocevar 2006-11-10 14:58:12 +00:00 committed by sam
parent 67988bb31f
commit 9162cd19e9
2 changed files with 4 additions and 1 deletions

View file

@ -77,6 +77,5 @@ AC_OUTPUT([
tools/Makefile tools/Makefile
fonts/Makefile fonts/Makefile
doc/Makefile doc/Makefile
doc/toilet.1
]) ])

View file

@ -1,6 +1,10 @@
# $Id: Makefile.am 871 2006-09-25 15:58:33Z sam $ # $Id: Makefile.am 871 2006-09-25 15:58:33Z sam $
EXTRA_DIST = toilet.1.in EXTRA_DIST = toilet.1.in
CLEANFILES = toilet.1
man_MANS = toilet.1 man_MANS = toilet.1
toilet.1: toilet.1.in
sed -e "s,@data""rootdir@,$(datarootdir),g" $(srcdir)/$^ > $@