[Expat-checkins] expat Makefile.in,1.32,1.33

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Fri May 31 08:52:03 2002


Update of /cvsroot/expat/expat
In directory usw-pr-cvs1:/tmp/cvs-serv32076

Modified Files:
	Makefile.in 
Log Message:
Factor out the definition of the directory the manual page is
installed into; hopefully this will fix the RPM construction.


Index: Makefile.in
===================================================================
RCS file: /cvsroot/expat/expat/Makefile.in,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- Makefile.in	18 May 2002 00:26:59 -0000	1.32
+++ Makefile.in	31 May 2002 15:51:21 -0000	1.33
@@ -40,6 +40,7 @@
 bindir = @bindir@
 libdir = @libdir@
 includedir = @includedir@
+mandir = @prefix@/man/man1
 
 top_builddir = .
 
@@ -78,17 +79,17 @@
 	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: