Changeset 4431

Show
Ignore:
Timestamp:
04/16/09 06:09:58 (5 years ago)
Author:
douglask
Message:

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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/mpeg4/Makefile.in

    r4415 r4431  
    4444 
    4545ED_YBITS = 4 
     46 
     47prefix      = @prefix@ 
     48exec_prefix = @exec_prefix@ 
     49datarootdir = @datarootdir@ 
     50bindir      = @bindir@ 
     51mandir      = @mandir@ 
    4652 
    4753CC = @CC@ 
     
    348354 
    349355install: force 
    350         test -d $(DESTDIR)@prefix@/bin || \ 
    351                 $(INSTALL) -d $(DESTDIR)@prefix@/bin 
     356        test -d $(DESTDIR)$(bindir) || \ 
     357                $(INSTALL) -d $(DESTDIR)$(bindir) 
    352358        test -d $(DESTDIR)@prefix@/man || \ 
    353                 $(INSTALL) -d $(DESTDIR)@prefix@/man/man1 
    354         $(INSTALL_PROGRAM) vic $(DESTDIR)@prefix@/bin 
    355         $(INSTALL_PROGRAM) histtolut $(DESTDIR)@prefix@/bin 
    356         $(INSTALL_DATA) vic.1 $(DESTDIR)@prefix@/man/man1 
     359                $(INSTALL) -d $(DESTDIR)$(mandir)/man1 
     360        $(INSTALL_PROGRAM) vic $(DESTDIR)$(bindir) 
     361        $(INSTALL_PROGRAM) histtolut $(DESTDIR)$(bindir) 
     362        $(INSTALL_DATA) vic.1 $(DESTDIR)$(mandir)/man1 
    357363 
    358364clean: