Magellan Linux

Diff of /trunk/grubby/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2264 by niro, Mon Oct 21 14:11:43 2013 UTC revision 3169 by niro, Thu Jul 27 14:27:01 2023 UTC
# Line 26  CC = gcc Line 26  CC = gcc
26  RPM_OPT_FLAGS ?= -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector  RPM_OPT_FLAGS ?= -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
27  CFLAGS += $(RPM_OPT_FLAGS) -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb  CFLAGS += $(RPM_OPT_FLAGS) -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb
28  LDFLAGS :=  LDFLAGS :=
29    VERBOSE_TEST :=
30    ifneq ($(VERBOSE_TEST),)
31     VERBOSE_TEST="--verbose"
32    endif
33    
34  grubby_LIBS = -lblkid -lpopt  grubby_LIBS = -lblkid -lpopt
35    
# Line 43  debug : clean Line 47  debug : clean
47    
48  test: all  test: all
49   @export TOPDIR=$(TOPDIR)   @export TOPDIR=$(TOPDIR)
50   @./test.sh   @./test.sh $(VERBOSE_TEST)
51     @./test-bls.sh $(VERBOSE_TEST)
52    
53  install: all  install: all
54   mkdir -p $(DESTDIR)/$(sbindir)   mkdir -p $(DESTDIR)/$(sbindir)
# Line 52  install: all Line 57  install: all
57   install -m 644 new-kernel-pkg.8 $(DESTDIR)/$(mandir)/man8   install -m 644 new-kernel-pkg.8 $(DESTDIR)/$(mandir)/man8
58   install -m 755 installkernel $(DESTDIR)/$(sbindir)   install -m 755 installkernel $(DESTDIR)/$(sbindir)
59   install -m 644 installkernel.8 $(DESTDIR)/$(mandir)/man8   install -m 644 installkernel.8 $(DESTDIR)/$(mandir)/man8
60     install -m 755 grubby-bls $(DESTDIR)$(PREFIX)/sbin
61   if [ -f grubby ]; then \   if [ -f grubby ]; then \
62   install -m 755 grubby $(DESTDIR)/$(sbindir) ; \   install -m 755 grubby $(DESTDIR)/$(sbindir) ; \
63   install -m 644 grubby.8 $(DESTDIR)/$(mandir)/man8 ; \   install -m 644 grubby.8 $(DESTDIR)/$(mandir)/man8 ; \

Legend:
Removed from v.2264  
changed lines
  Added in v.3169