make dist
This commit is contained in:
parent
c38f210854
commit
81142cbbe5
16
makefile
16
makefile
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user