nut/nut-17.11-makefile.patch

18 lines
465 B
Diff
Raw Permalink Normal View History

diff -Nru nut-17.7.orig/Makefile nut-17.7/Makefile
--- nut-17.7.orig/Makefile 2012-04-24 19:13:25.000000000 +0200
+++ nut-17.7/Makefile 2012-04-26 10:54:16.000000000 +0200
@@ -1,10 +1,10 @@
-prefix = /usr/local
+prefix = $(DESTDIR)/usr
libdir = $(prefix)/lib/nut
bindir = $(prefix)/bin
-mandir = $(prefix)/man/man1
+mandir = $(prefix)/share/man/man1
NUTDIR := \".nutdb\"
-FOODDIR := \"$(libdir)\"
+FOODDIR := \"/usr/lib/nut\"
EXECUTABLE := nut
LIBS := -lm