Ticket #12001: patch-Makefile.patch

File patch-Makefile.patch, 685 bytes (added by lloyd@…, 18 years ago)

makefile patch to add $(DESTDIR) to installation prefix.

  • Makefile

    old new  
    44#######################################################################
    55
    66# Directory where qiv will be installed under.
    7 PREFIX = /usr/local
     7PREFIX = $(DESTDIR)/opt/local
    88
    99# Font to use for statusbar in fullscreen mode
    1010STATUSBAR_FONT = "fixed"
     
    124124
    125125install: $(PROGRAM)
    126126        @echo "Installing QIV..."
     127        mkdir -p $(PREFIX)/bin
    127128        install -s -m 0755 $(PROGRAM) $(PREFIX)/bin
     129        mkdir -p $(PREFIX)/man/man1
    128130        install -m 0644 $(PROGRAM).1 $(PREFIX)/man/man1
    129131        $(COMPRESS_PROG) $(PREFIX)/man/man1/$(PROGRAM).1
    130132        @if ./qiv -f ./intro.jpg ; \