fix install target
PATCH 2/21 fix install target
The install target should refer the executable, otherwise it'll trigger an entire rebuild.
Signed-off-by Hannes Reinecke <[email protected]>
--- devmap_name/Makefile | 4 ++-- kpartx/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
devmap_name/Makefile +2 -2
@@ -28,9 +28,9 @@ 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)
kpartx/Makefile +1 -1
@@ -36,7 +36,7 @@ klibc: prepare $(OBJS) $(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 -d $(DESTDIR)$(mandir)
Signature · 1 line
1.4.3.4