Allow the configure script to set where manpages go using --mandir.

Closes SF bug #827319.
This commit is contained in:
Fred L. Drake, Jr. 2003-11-02 08:21:30 +00:00
parent 0a0a850ae7
commit d11807a7b5

View file

@ -30,7 +30,7 @@ exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
includedir = @includedir@
mandir = ${prefix}/man/man1
man1dir = @mandir@/man1
top_builddir = .
@ -73,9 +73,9 @@ check: tests/runtests
tests/runtests
install: xmlwf/xmlwf installlib
$(mkinstalldirs) $(bindir) $(mandir)
$(mkinstalldirs) $(bindir) $(man1dir)
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf $(bindir)/xmlwf
$(INSTALL_DATA) $(MANFILE) $(mandir)
$(INSTALL_DATA) $(MANFILE) $(man1dir)
installlib: $(LIBRARY) $(APIHEADER)
$(mkinstalldirs) $(libdir) $(includedir)
@ -84,7 +84,7 @@ installlib: $(LIBRARY) $(APIHEADER)
uninstall: uninstalllib
$(LIBTOOL) --mode=uninstall rm -f $(bindir)/xmlwf
rm -f $(mandir)/xmlwf.1
rm -f $(man1dir)/xmlwf.1
uninstalllib:
$(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(LIBRARY)