Magellan Linux

Diff of /trunk/grubby/Makefile

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

trunk/mkinitrd-magellan/grubby/Makefile revision 914 by niro, Wed Oct 28 00:16:16 2009 UTC trunk/grubby/Makefile revision 1335 by niro, Fri Jun 3 20:58:28 2011 UTC
# Line 17  Line 17 
17  # along with this program.  If not, see <http://www.gnu.org/licenses/>.  # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18  #  #
19    
20  VERSION=$(shell cat ../VERSION)  VERSION=$(shell cat VERSION)
21    
22  TARGETS = grubby  TARGETS = grubby
23  OBJECTS = grubby.o  OBJECTS = grubby.o
# Line 26  CFLAGS := $(CFLAGS) $(RPM_OPT_FLAGS) -DV Line 26  CFLAGS := $(CFLAGS) $(RPM_OPT_FLAGS) -DV
26  LDFLAGS :=  LDFLAGS :=
27    
28  grubby_LIBS = -lblkid -lpopt  grubby_LIBS = -lblkid -lpopt
29  grubby_LIBS += $(shell pkg-config --libs glib-2.0)  
30    mandir = usr/share/man
31    
32  all: grubby  all: grubby
33    
# Line 38  install: all Line 39  install: all
39   mkdir -p $(DESTDIR)/sbin   mkdir -p $(DESTDIR)/sbin
40   mkdir -p $(DESTDIR)/$(mandir)/man8   mkdir -p $(DESTDIR)/$(mandir)/man8
41   install -m 755 new-kernel-pkg $(DESTDIR)/sbin   install -m 755 new-kernel-pkg $(DESTDIR)/sbin
42   install -m 755 installkernel $(DESTDIR)/sbin   install -m 644 new-kernel-pkg.8 $(DESTDIR)/$(mandir)/man8
43   if [ -f grubby ]; then \   if [ -f grubby ]; then \
44   install -m 755 grubby $(DESTDIR)/sbin ; \   install -m 755 grubby $(DESTDIR)/sbin ; \
45   install -m 644 grubby.8 $(DESTDIR)/$(mandir)/man8 ; \   install -m 644 grubby.8 $(DESTDIR)/$(mandir)/man8 ; \

Legend:
Removed from v.914  
changed lines
  Added in v.1335