* 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:
parent
67988bb31f
commit
9162cd19e9
2 changed files with 4 additions and 1 deletions
|
@ -77,6 +77,5 @@ AC_OUTPUT([
|
|||
tools/Makefile
|
||||
fonts/Makefile
|
||||
doc/Makefile
|
||||
doc/toilet.1
|
||||
])
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
# $Id: Makefile.am 871 2006-09-25 15:58:33Z sam $
|
||||
|
||||
EXTRA_DIST = toilet.1.in
|
||||
CLEANFILES = toilet.1
|
||||
|
||||
man_MANS = toilet.1
|
||||
|
||||
toilet.1: toilet.1.in
|
||||
sed -e "s,@data""rootdir@,$(datarootdir),g" $(srcdir)/$^ > $@
|
||||
|
||||
|
|
Loading…
Reference in a new issue