Search
j0ke.net Open Build Service
>
Projects
>
GFS
>
multipath-tools
> multipath-tools-makefile-fixup
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File multipath-tools-makefile-fixup of Package multipath-tools
diff --git a/devmap_name/Makefile b/devmap_name/Makefile index 380c85b..9f3454d 100644 --- a/devmap_name/Makefile +++ b/devmap_name/Makefile @@ -18,25 +18,23 @@ EXEC = devmap_name all: $(BUILD) prepare: - rm -f core *.o *.gz + rm -f core *.o glibc: prepare $(OBJS) $(CC) $(OBJS) -o $(EXEC) $(LDFLAGS) - $(GZIP) $(EXEC).8 > $(EXEC).8.gz klibc: prepare $(OBJS) $(CC) -static -o $(EXEC) $(OBJS) - $(GZIP) $(EXEC).8 > $(EXEC).8.gz -install: +install: $(EXEC) $(EXEC).8 install -d $(DESTDIR)$(bindir) - install -s -m 755 $(EXEC) $(DESTDIR)$(bindir)/ + install -m 755 $(EXEC) $(DESTDIR)$(bindir)/ install -d $(DESTDIR)$(mandir) - install -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir) + install -m 644 $(EXEC).8 $(DESTDIR)$(mandir) uninstall: rm $(DESTDIR)$(bindir)/$(EXEC) - rm $(DESTDIR)$(mandir)/$(EXEC).8.gz + rm $(DESTDIR)$(mandir)/$(EXEC).8 clean: - rm -f core *.o $(EXEC) *.gz + rm -f core *.o $(EXEC) diff --git a/kpartx/Makefile b/kpartx/Makefile index bf6e6c1..1fa547e 100644 --- a/kpartx/Makefile +++ b/kpartx/Makefile @@ -23,28 +23,26 @@ EXEC = kpartx all: $(BUILD) prepare: - rm -f core *.o *.gz + rm -f core *.o glibc: prepare $(OBJS) $(CC) $(OBJS) -o $(EXEC) $(LDFLAGS) - $(GZIP) $(EXEC).8 > $(EXEC).8.gz - + klibc: prepare $(OBJS) $(CC) -static -o $(EXEC) $(CRT0) $(OBJS) $(KLIBC) $(LIBGCC) - $(GZIP) $(EXEC).8 > $(EXEC).8.gz $(MULTIPATHLIB)-$(BUILD).a: make -C $(multipathdir) BUILD=$(BUILD) -install: +install: $(EXEC) $(EXEC).8 install -d $(DESTDIR)$(bindir) - install -s -m 755 $(EXEC) $(DESTDIR)$(bindir) + install -m 755 $(EXEC) $(DESTDIR)$(bindir) install -d $(DESTDIR)$(mandir) - install -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir) + install -m 644 $(EXEC).8 $(DESTDIR)$(mandir) uninstall: rm -f $(DESTDIR)$(bindir)/$(EXEC) - rm -f $(DESTDIR)$(mandir)/$(EXEC).8.gz + rm -f $(DESTDIR)$(mandir)/$(EXEC).8 clean: - rm -f core *.o $(EXEC) *.gz + rm -f core *.o $(EXEC) diff --git a/libmultipath/Makefile b/libmultipath/Makefile diff --git a/libmultipath/devmapper.c b/libmultipath/devmapper.c diff --git a/libmultipath/devmapper.h b/libmultipath/devmapper.h diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c diff --git a/multipath/Makefile b/multipath/Makefile index 646dfc2..f41e03b 100644 --- a/multipath/Makefile +++ b/multipath/Makefile @@ -21,15 +21,13 @@ all: $(BUILD) prepare: make -C $(multipathdir) prepare - rm -f core *.o *.gz + rm -f core *.o glibc: prepare $(OBJS) $(CC) $(OBJS) -o $(EXEC) $(LDFLAGS) - $(GZIP) $(EXEC).8 > $(EXEC).8.gz klibc: prepare $(OBJS) $(CC) -static -o $(EXEC) $(CRT0) $(OBJS) $(KLIBC) $(LIBGCC) - $(GZIP) $(EXEC).8 > $(EXEC).8.gz $(CHECKERSLIB)-$(BUILD).a: make -C $(checkersdir) BUILD=$(BUILD) $(BUILD) @@ -39,16 +37,16 @@ klibc: prepare $(OBJS) install: install -d $(DESTDIR)$(bindir) - install -s -m 755 $(EXEC) $(DESTDIR)$(bindir)/ + install -m 755 $(EXEC) $(DESTDIR)$(bindir)/ install -d $(DESTDIR)/etc/udev/rules.d install -m 644 multipath.rules $(DESTDIR)/etc/udev/rules.d/ install -d $(DESTDIR)$(mandir) - install -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir) + install -m 644 $(EXEC).8 $(DESTDIR)$(mandir) uninstall: rm $(DESTDIR)/etc/udev/rules.d/multipath.rules rm $(DESTDIR)$(bindir)/$(EXEC) - rm $(DESTDIR)$(mandir)/$(EXEC).8.gz + rm $(DESTDIR)$(mandir)/$(EXEC).8 clean: - rm -f core *.o $(EXEC) *.gz + rm -f core *.o $(EXEC) diff --git a/multipath/main.c b/multipath/main.c diff --git a/multipathd/Makefile b/multipathd/Makefile index 8ad25ee..f593c13 100644 --- a/multipathd/Makefile +++ b/multipathd/Makefile @@ -35,7 +35,6 @@ klibc: $(EXEC): clean $(OBJS) $(CC) $(OBJS) -o $(EXEC) $(LDFLAGS) - $(GZIP) $(EXEC).8 > $(EXEC).8.gz $(CHECKERSLIB)-glibc.a: $(MAKE) -C $(checkersdir) BUILD=glibc glibc @@ -45,17 +44,17 @@ klibc: install: install -d $(DESTDIR)$(bindir) - install -s -m 755 $(EXEC) $(DESTDIR)$(bindir) + install -m 755 $(EXEC) $(DESTDIR)$(bindir) install -d $(DESTDIR)$(rcdir) install -d $(DESTDIR)$(mandir) - install -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir) + install -m 644 $(EXEC).8 $(DESTDIR)$(mandir) uninstall: rm -f $(DESTDIR)$(bindir)/$(EXEC) rm -f $(DESTDIR)$(rcdir)/$(EXEC) - rm -f $(DESTDIR)$(mandir)/$(EXEC).8.gz + rm -f $(DESTDIR)$(mandir)/$(EXEC).8 clean: $(MAKE) -C $(multipathdir) prepare DAEMON=1 - rm -f core *.o $(EXEC) *.gz + rm -f core *.o $(EXEC) diff --git a/path_priority/pp_alua/Makefile b/path_priority/pp_alua/Makefile index 983ffe3..fd03acf 100644 --- a/path_priority/pp_alua/Makefile +++ b/path_priority/pp_alua/Makefile @@ -35,19 +35,16 @@ glibc: $(OBJS) klibc: $(OBJS) $(CC) -static -o $(EXEC) $(OBJS) -install: $(BUILD) $(EXEC).8.gz - $(INSTALL) -s -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC) - $(INSTALL) -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir)/$(EXEC).8.gz +install: $(EXEC) $(EXEC).8 + $(INSTALL) -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC) + $(INSTALL) -m 644 $(EXEC).8 $(DESTDIR)$(mandir)/$(EXEC).8 uninstall: rm $(DESTDIR)$(bindir)/$(EXEC) - rm $(DESTDIR)$(mandir)/$(EXEC).8.gz + rm $(DESTDIR)$(mandir)/$(EXEC).8 clean: - rm -f *.o *.gz $(EXEC) - -$(EXEC).8.gz: $(EXEC).8 - $(GZIP) $< >$@ + rm -f *.o $(EXEC) main.o: main.c rtpg.h spc3.h diff --git a/path_priority/pp_balance_units/Makefile b/path_priority/pp_balance_units/Makefile index bed7fb0..b0fee28 100644 --- a/path_priority/pp_balance_units/Makefile +++ b/path_priority/pp_balance_units/Makefile @@ -22,7 +22,7 @@ EXEC = mpath_prio_balance_units all: $(BUILD) prepare: - rm -f core *.o *.gz + rm -f core *.o glibc: prepare $(OBJS) $(CC) -o $(EXEC) $(OBJS) $(LDFLAGS) @@ -35,10 +35,10 @@ klibc: prepare $(OBJS) install: install -d $(DESTDIR)$(bindir) - install -s -m 755 $(EXEC) $(DESTDIR)$(bindir)/ + install -m 755 $(EXEC) $(DESTDIR)$(bindir)/ uninstall: rm $(DESTDIR)$(bindir)/$(EXEC) clean: - rm -f core *.o $(EXEC) *.gz + rm -f core *.o $(EXEC) diff --git a/path_priority/pp_emc/Makefile b/path_priority/pp_emc/Makefile index 651bdcd..8c6e922 100644 --- a/path_priority/pp_emc/Makefile +++ b/path_priority/pp_emc/Makefile @@ -14,7 +14,7 @@ klibc: $(OBJS) $(CC) -static -o $(EXEC) $(OBJS) install: $(EXEC) - install -s -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC) + install -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC) uninstall: rm $(DESTDIR)$(bindir)/$(EXEC) diff --git a/path_priority/pp_hds_modular/Makefile b/path_priority/pp_hds_modular/Makefile index a0249a5..1c276e6 100644 --- a/path_priority/pp_hds_modular/Makefile +++ b/path_priority/pp_hds_modular/Makefile @@ -14,7 +14,7 @@ klibc: $(OBJS) $(CC) -static -o $(EXEC) $(OBJS) install: $(EXEC) - install -s -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC) + install -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC) uninstall: rm $(DESTDIR)$(bindir)/$(EXEC) diff --git a/path_priority/pp_netapp/Makefile b/path_priority/pp_netapp/Makefile index 9e7d3a3..2d571b0 100644 --- a/path_priority/pp_netapp/Makefile +++ b/path_priority/pp_netapp/Makefile @@ -14,7 +14,7 @@ klibc: $(OBJS) $(CC) -static -o $(EXEC) $(OBJS) install: $(EXEC) - install -s -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC) + install -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC) uninstall: rm $(DESTDIR)$(bindir)/$(EXEC) diff --git a/path_priority/pp_random/Makefile b/path_priority/pp_random/Makefile index 85f42a2..ca7974e 100644 --- a/path_priority/pp_random/Makefile +++ b/path_priority/pp_random/Makefile @@ -14,7 +14,7 @@ klibc: $(OBJS) $(CC) -static -o $(EXEC) $(OBJS) install: $(EXEC) - install -s -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC) + install -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC) uninstall: rm $(DESTDIR)$(bindir)/$(EXEC) diff --git a/path_priority/pp_tpc/Makefile b/path_priority/pp_tpc/Makefile index 86841dd..624f76d 100644 --- a/path_priority/pp_tpc/Makefile +++ b/path_priority/pp_tpc/Makefile @@ -14,7 +14,7 @@ klibc: $(OBJS) $(CC) -static -o $(EXEC) $(OBJS) install: $(EXEC) - install -s -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC) + install -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC) uninstall: rm $(DESTDIR)$(bindir)/$(EXEC)