Commit 6225d3ff authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

Makefile: add top directory into binary archives

Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
parent a01558fe
......@@ -66,10 +66,12 @@ dist: $(DISTFILES)
binary-tgz: $(PACKFILES)
${STRIP} ${BINS}
tar czf ${PACKAGE}-${VERSION}-${TARGET}.tgz $^
tar -cz --transform='s,^,$(DISTDIR)/,S' -f ${PACKAGE}-${VERSION}-${TARGET}.tgz $^
binary-zip: $(PACKFILES)
${STRIP} ${BINS}
zip ${PACKAGE}-${VERSION}-${TARGET}.zip $^
ln -s . $(DISTDIR)
zip ${PACKAGE}-${VERSION}-${TARGET}.zip $(addprefix $(DISTDIR)/,$^)
rm $(DISTDIR)
.PHONY: all clean install dist version
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