Commit 815d0629 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

make dist: do not rebuild dist if non needed

Make it depend on DISTFILES
Signed-off-by: default avatarKir Kolyshkin <kir@openvz.org>
parent 1cdf14d2
......@@ -32,7 +32,9 @@ install: $(BINS) $(MANS)
ioping: $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
dist:
dist: $(DISTDIR).tar.gz
$(DISTDIR).tar.gz: $(DISTFILES)
tar -cz --transform='s,^,$(DISTDIR)/,S' $(DISTFILES) -f $(DISTDIR).tar.gz
.PHONY: all clean install dist
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment