--- trunk/grubby/Makefile 2013/10/21 14:04:39 2261 +++ trunk/grubby/Makefile 2016/06/30 10:41:12 2997 @@ -26,10 +26,15 @@ RPM_OPT_FLAGS ?= -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector CFLAGS += $(RPM_OPT_FLAGS) -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb LDFLAGS := +VERBOSE_TEST := +ifneq ($(VERBOSE_TEST),) + VERBOSE_TEST="--verbose" +endif grubby_LIBS = -lblkid -lpopt -sbindir = /usr/sbin +PREFIX = /usr +sbindir = $(PREFIX)/sbin mandir = /usr/share/man all: grubby @@ -42,7 +47,7 @@ test: all @export TOPDIR=$(TOPDIR) - @./test.sh + @./test.sh $(VERBOSE_TEST) install: all mkdir -p $(DESTDIR)/$(sbindir)