Initial version with dist and release targets.

This commit is contained in:
Russ Allbery 2003-07-07 02:08:21 +00:00
parent e1f1026c30
commit b16c027e4e

23
Makefile Normal file
View file

@ -0,0 +1,23 @@
# Makefile for pgpcontrol to handle various maintenance functions.
# $Id$
VERSION = 2.0
# Generate a staging area to be copied to the FTP site. This contains the
# documentation and scripts separate, the .tar.gz file for the entire
# distribution in a subdirectory, and the ARCHIVE area.
dist: release
mkdir -p staging
rsync -av ARCHIVE FORMAT README* pgpverify sample.control sign.sh \
signcontrol staging/
cp -p pgpcontrol-$(VERSION).tar.gz staging/
# Generate a tarball of my entire working area, but without the archive of old
# versions of the software.
release:
rm -f pgpcontrol-$(VERSION).tar.gz
mkdir -p pgpcontrol-$(VERSION)
rsync -C -av ./ pgpcontrol-$(VERSION)/
tar cfvz pgpcontrol-$(VERSION).tar.gz pgpcontrol-$(VERSION)
rm -rf pgpcontrol-$(VERSION)