From 0d3086f716a5d637197b5994fb2806860eab03a4 Mon Sep 17 00:00:00 2001 From: Anton Arapov Date: Jul 25 2012 10:31:59 +0000 Subject: Tiny Makefile fixups ssia Signed-off-by: Anton Arapov --- diff --git a/Makefile b/Makefile index 5f9d1c6..6a99b40 100644 --- a/Makefile +++ b/Makefile @@ -11,17 +11,17 @@ PROGRAM = microcode_ctl MANPAGE = microcode_ctl.8 -INS = install -CC = gcc -KERNELHEADER = /usr/src/linux/include +INS = install +CC = gcc +KERNELHEADER = /usr/src/linux/include CFLAGS = -g -Wall -O2 -I $(KERNELHEADER) DESTDIR = PREFIX = /usr/local INSDIR = $(PREFIX)/sbin -MANDIR = $(PREFIX)/man/man8 -MICDIR = /etc +MANDIR = $(PREFIX)/share/man/man8 +MICDIR = /lib/firmware RCFILE = microcode_ctl.start RCFILEFINAL = microcode_ctl @@ -44,7 +44,7 @@ install: $(DESTDIR)$(MANDIR) $(DESTDIR)$(RCFILETO) \ $(DESTDIR)$(RCLINKTO) - $(INS) -s -m 755 $(PROGRAM) $(DESTDIR)$(INSDIR) + $(INS) -m 755 $(PROGRAM) $(DESTDIR)$(INSDIR) $(INS) -m 644 $(MANPAGE) $(DESTDIR)$(MANDIR) gzip -9f $(DESTDIR)$(MANDIR)/$(MANPAGE)