]> granicus.if.org Git - libexpat/commitdiff
Factor out the definition of the directory the manual page is
authorFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Fri, 31 May 2002 15:51:21 +0000 (15:51 +0000)
committerFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Fri, 31 May 2002 15:51:21 +0000 (15:51 +0000)
installed into; hopefully this will fix the RPM construction.

expat/Makefile.in

index 2fad3d218b222a3fa4509d745e65fb79a0e0a9b4..ede072931f5dd6b34a43b96c855b90bdd70fb365 100644 (file)
@@ -40,6 +40,7 @@ exec_prefix = @exec_prefix@
 bindir = @bindir@
 libdir = @libdir@
 includedir = @includedir@
+mandir = @prefix@/man/man1
 
 top_builddir = .
 
@@ -78,17 +79,17 @@ check: tests/runtests
        tests/runtests
 
 install: xmlwf/xmlwf lib/$(LIBRARY) lib/$(APIHEADER)
-       $(mkinstalldirs) $(bindir) $(libdir) $(includedir)
+       $(mkinstalldirs) $(bindir) $(libdir) $(includedir) $(mandir)
        $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf $(bindir)/xmlwf
        $(LIBTOOL) --mode=install $(INSTALL) lib/$(LIBRARY) $(libdir)/$(LIBRARY)
        $(INSTALL_DATA) lib/$(APIHEADER) $(includedir)
-       $(INSTALL_DATA) doc/xmlwf.1 $(prefix)/man/man1
+       $(INSTALL_DATA) doc/xmlwf.1 $(mandir)
 
 uninstall:
        $(LIBTOOL) --mode=uninstall rm -f $(bindir)/xmlwf
        $(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(LIBRARY)
        rm -f $(includedir)/$(APIHEADER)
-       rm -f $(prefix)/man/man1/xmlwf.1
+       rm -f $(mandir)/xmlwf.1
 
 # for VPATH builds (invoked by configure)
 mkdir-init: