Ticket #25779: patch-Makefile.diff
File patch-Makefile.diff, 1.1 KB (added by someuser12, 14 years ago) |
---|
-
Makefile
old new 4 4 ####################################################################### 5 5 6 6 # Directory where qiv will be installed under. 7 PREFIX = /usr/local7 PREFIX = $(DESTDIR)@PREFIX@ 8 8 9 9 # Font to use for statusbar in fullscreen mode 10 10 STATUSBAR_FONT = "fixed" … … 38 38 39 39 # Comment this line out if you do not want to use libmagic to 40 40 # identify if a file is an image 41 MAGIC = -DHAVE_MAGIC41 #MAGIC = -DHAVE_MAGIC 42 42 43 43 ###################################################################### 44 44 # Variables and Rules … … 127 127 128 128 install: $(PROGRAM) 129 129 @echo "Installing QIV..." 130 mkdir -p $(PREFIX)/bin 130 131 install -s -m 0755 $(PROGRAM) $(PREFIX)/bin 131 install -m 0644 $(PROGRAM).1 $(PREFIX)/man/man1 132 $(COMPRESS_PROG) $(PREFIX)/man/man1/$(PROGRAM).1 132 mkdir -p $(PREFIX)/share/man/man1 133 install -m 0644 $(PROGRAM).1 $(PREFIX)/share/man/man1 134 $(COMPRESS_PROG) $(PREFIX)/share/man/man1/$(PROGRAM).1 133 135 @if ./qiv -f ./intro.jpg ; \ 134 136 then echo "-- Test Passed --" ; \ 135 137 else echo "-- Test Failed --" ; \