mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-14 16:20:45 +00:00
Allow the configure script to set where manpages go using --mandir.
Closes SF bug #827319.
This commit is contained in:
parent
0a0a850ae7
commit
d11807a7b5
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue