make dist

master
Philippe PITTOLI 2024-06-21 21:31:03 +02:00
parent c38f210854
commit 81142cbbe5
1 changed files with 8 additions and 8 deletions

View File

@ -63,18 +63,18 @@ serve-doc:
PACKAGE ?= libhexa
VERSION ?= 0.1.0
PKG = $(PACKAGE)-$(VERSION)
dist-dir:
[ -d $(PKG) ] || ln -s . $(PKG)
$(PKG).tar.gz: dist-dir
tar zcf $@ \
$(PKG)/src \
$(PKG)/build.zig \
$(PKG)/build.zig* \
$(PKG)/libhexa.h \
$(PKG)/makefile* \
$(PKG)/README*
dist-rm-dir:
rm $(PKG)
dist-gz: $(PACKAGE)-$(VERSION).tar.gz
$(PKG)/hexa.pc \
$(PKG)/makefile*
$(PKG):; ln -s . $(PKG)
dist-dir: $(PKG)
dist-rm-dir:; rm $(PKG)
dist-gz: $(PKG).tar.gz
dist: dist-gz dist-rm-dir
# You can add your specific instructions there.