[Sumover-dev] [svn commit] r4431 - vic/branches/mpeg4

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Thu Apr 16 06:10:01 BST 2009


Author: douglask
Date: Thu Apr 16 06:09:58 2009
New Revision: 4431

Modified:
   vic/branches/mpeg4/Makefile.in

Log:
Added mandir=@mandir@ to Makefile.in as the manpage directory was hardcoded to /usr/man which may not exist on systems that use /usr/share/man instead


Modified: vic/branches/mpeg4/Makefile.in
==============================================================================
--- vic/branches/mpeg4/Makefile.in	(original)
+++ vic/branches/mpeg4/Makefile.in	Thu Apr 16 06:09:58 2009
@@ -44,6 +44,12 @@
 
 ED_YBITS = 4
 
+prefix      = @prefix@
+exec_prefix = @exec_prefix@
+datarootdir = @datarootdir@
+bindir      = @bindir@
+mandir      = @mandir@
+
 CC = @CC@
 C++ = @CXX@
 CCOPT = @V_CCOPT@
@@ -347,13 +353,13 @@
 	$(CC) -o $@ $(CFLAGS) render/ppmtolut/ppmtolut.c -lm $(STATIC)
 
 install: force
-	test -d $(DESTDIR)@prefix@/bin || \
-		$(INSTALL) -d $(DESTDIR)@prefix@/bin
+	test -d $(DESTDIR)$(bindir) || \
+		$(INSTALL) -d $(DESTDIR)$(bindir)
 	test -d $(DESTDIR)@prefix@/man || \
-		$(INSTALL) -d $(DESTDIR)@prefix@/man/man1
-	$(INSTALL_PROGRAM) vic $(DESTDIR)@prefix@/bin
-	$(INSTALL_PROGRAM) histtolut $(DESTDIR)@prefix@/bin
-	$(INSTALL_DATA) vic.1 $(DESTDIR)@prefix@/man/man1
+		$(INSTALL) -d $(DESTDIR)$(mandir)/man1
+	$(INSTALL_PROGRAM) vic $(DESTDIR)$(bindir)
+	$(INSTALL_PROGRAM) histtolut $(DESTDIR)$(bindir)
+	$(INSTALL_DATA) vic.1 $(DESTDIR)$(mandir)/man1
 
 clean:
 	rm -f *.o codec/jpeg/*.o codec/p64/*.o codec/h263/*.o \



More information about the Sumover-dev mailing list