add `release' target

This commit is contained in:
Omar Polo 2023-06-14 07:15:00 +00:00
parent 1959cda3d8
commit 5dad390015
1 changed files with 7 additions and 0 deletions

View File

@ -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