diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-14 07:15:00 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-14 07:15:00 +0000 |
commit | 5dad390015970eb1e35f6e6fd9f8f28bf6e6db0e (patch) | |
tree | 89671cf9d6e02b00917a72c6a55df7c4d8ef3427 /Makefile | |
parent | 1959cda3d8cb21be770535e48529b7bdfa6e240d (diff) |
add `release' target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |