The install target should refer the executable, otherwise it'll trigger
an entire rebuild.
Signed-off-by: Hannes Reinecke <hare@suse.de>
$(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)
$(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)