make dist
This commit is contained in:
parent
c38f210854
commit
81142cbbe5
16
makefile
16
makefile
@ -63,18 +63,18 @@ serve-doc:
|
|||||||
PACKAGE ?= libhexa
|
PACKAGE ?= libhexa
|
||||||
VERSION ?= 0.1.0
|
VERSION ?= 0.1.0
|
||||||
PKG = $(PACKAGE)-$(VERSION)
|
PKG = $(PACKAGE)-$(VERSION)
|
||||||
dist-dir:
|
|
||||||
[ -d $(PKG) ] || ln -s . $(PKG)
|
|
||||||
$(PKG).tar.gz: dist-dir
|
$(PKG).tar.gz: dist-dir
|
||||||
tar zcf $@ \
|
tar zcf $@ \
|
||||||
$(PKG)/src \
|
$(PKG)/src \
|
||||||
$(PKG)/build.zig \
|
$(PKG)/build.zig* \
|
||||||
$(PKG)/libhexa.h \
|
$(PKG)/libhexa.h \
|
||||||
$(PKG)/makefile* \
|
$(PKG)/hexa.pc \
|
||||||
$(PKG)/README*
|
$(PKG)/makefile*
|
||||||
dist-rm-dir:
|
$(PKG):; ln -s . $(PKG)
|
||||||
rm $(PKG)
|
dist-dir: $(PKG)
|
||||||
dist-gz: $(PACKAGE)-$(VERSION).tar.gz
|
dist-rm-dir:; rm $(PKG)
|
||||||
|
dist-gz: $(PKG).tar.gz
|
||||||
dist: dist-gz dist-rm-dir
|
dist: dist-gz dist-rm-dir
|
||||||
|
|
||||||
# You can add your specific instructions there.
|
# You can add your specific instructions there.
|
||||||
|
Loading…
Reference in New Issue
Block a user