Skip to content
Snippets Groups Projects
Commit 1ade2458 authored by Jesse Vincent's avatar Jesse Vincent
Browse files

Encode our releng best practices into the "make snapshot" target

parent cea5aea0
No related branches found
No related tags found
No related merge requests found
......@@ -515,7 +515,12 @@ apachectl:
SNAPSHOT=$(shell git describe --tags)
snapshot:
git archive --prefix "$(SNAPSHOT)/" HEAD | tar -xf -
( cd $(SNAPSHOT) && echo "$(SNAPSHOT)" > .tag && autoconf && ./configure )
( cd $(SNAPSHOT) &&\
echo "$(SNAPSHOT)" > .tag &&\
autoconf &&\
INSTALL=install-sh PERL=/usr/bin/perl ./configure --with-db-type=SQLite\
--enable-layout=relative --with-web-handler=standalone ./configure \
)
tar -czf "$(SNAPSHOT).tar.gz" "$(SNAPSHOT)/"
gpg --clearsign "$(SNAPSHOT).tar.gz"
sha1sum $(SNAPSHOT).tar.gz*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment