23 lines
780 B
Makefile
23 lines
780 B
Makefile
# 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)
|
|
|