Browse Source

* 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.
pull/1/head
Sam Hocevar sam 18 years ago
parent
commit
9162cd19e9
2 changed files with 4 additions and 1 deletions
  1. +0
    -1
      configure.ac
  2. +4
    -0
      doc/Makefile.am

+ 0
- 1
configure.ac View File

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


+ 4
- 0
doc/Makefile.am View File

@@ -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…
Cancel
Save