Initial version with dist and release targets.
This commit is contained in:
parent
e1f1026c30
commit
b16c027e4e
1 changed files with 23 additions and 0 deletions
23
Makefile
Normal file
23
Makefile
Normal 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)
|
||||
|
Loading…
Reference in a new issue