mirror of https://github.com/omar-polo/gmid.git
add `release' target
This commit is contained in:
parent
1959cda3d8
commit
5dad390015
7
Makefile
7
Makefile
|
@ -111,6 +111,8 @@ y.tab.c: parse.y
|
|||
|
||||
# -- maintainer targets --
|
||||
|
||||
.PHONY: release dist
|
||||
|
||||
DISTFILES = .cirrus.yml .dockerignore .gitignore ChangeLog LICENSE \
|
||||
Makefile README.md config.c configure configure.local.example \
|
||||
crypto.c dirs.c fcgi.c ge.1 ge.c gg.1 gg.c gmid.8 gmid.c \
|
||||
|
@ -118,6 +120,11 @@ DISTFILES = .cirrus.yml .dockerignore .gitignore ChangeLog LICENSE \
|
|||
parse.y proxy.c puny.c sandbox.c server.c utf8.c utils.c \
|
||||
y.tab.c
|
||||
|
||||
release:
|
||||
sed -i -e '/^RELEASE=/s/no/yes' configure
|
||||
${MAKE} dist
|
||||
sed -i -e '/^RELEASE=/s/yes/no' configure
|
||||
|
||||
dist: ${DISTNAME}.sha256
|
||||
|
||||
${DISTNAME}.sha256: ${DISTNAME}.tar.gz
|
||||
|
|
Loading…
Reference in New Issue