blob: 55377129a80709f8d3469452b73e823d32a2431a (
plain)
1 --- Makefile.orig 2010-08-30 22:58:36.000000000 +0200
2 +++ Makefile 2010-08-30 23:02:12.000000000 +0200
3 @@ -3,8 +3,10 @@
4 # User Options
5 #######################################################################
6
7 +DESTDIR =
8 +
9 # Directory where qiv will be installed under.
10 -PREFIX = /usr/local
11 +PREFIX = /usr
12
13 # Font to use for statusbar in fullscreen mode
14 STATUSBAR_FONT = "fixed"
15 @@ -83,7 +85,7 @@
16 endif
17
18 ifdef GTD_XINERAMA
19 -LIBS += -L/usr/X11R6/lib -lXinerama
20 +LIBS += -L/usr/lib/X11 -lXinerama
21 endif
22
23 ifdef MAGIC
24 @@ -127,13 +129,7 @@
25
26 install: $(PROGRAM)
27 @echo "Installing QIV..."
28 - install -s -m 0755 $(PROGRAM) $(PREFIX)/bin
29 - install -m 0644 $(PROGRAM).1 $(PREFIX)/man/man1
30 - $(COMPRESS_PROG) $(PREFIX)/man/man1/$(PROGRAM).1
31 - @if ./qiv -f ./intro.jpg ; \
32 - then echo "-- Test Passed --" ; \
33 - else echo "-- Test Failed --" ; \
34 - fi
35 - @echo -ne "\nDont forget to look into the \"qiv-command\" file and install it!\n-> cp qiv-command.example /usr/local/bin/qiv-command\n\n"
36 + install -D -m 0755 $(PROGRAM) $(DESTDIR)/$(PREFIX)/bin/$(PROGRAM)
37 + install -D -m 0644 $(PROGRAM).1 $(DESTDIR)/$(PREFIX)/man/man1/$(PROGRAM).1
38
39 # the end... ;-)
|