masqmail
changeset 226:7b70bf4f1f42
renamed misc/ to devel/
because the contents are for developers
author | meillo@marmaro.de |
---|---|
date | Fri, 23 Jul 2010 11:46:08 +0200 |
parents | 589c365d90b1 |
children | cab46cefa4ce |
files | Makefile.am Makefile.in devel/README devel/are-options-documented devel/gen-dist devel/list-versions devel/update-manpage-date misc/README misc/are-options-documented misc/gen-dist misc/list-versions misc/update-manpage-date |
diffstat | 12 files changed, 86 insertions(+), 86 deletions(-) [+] |
line diff
1.1 --- a/Makefile.am Fri Jul 23 11:36:13 2010 +0200 1.2 +++ b/Makefile.am Fri Jul 23 11:46:08 2010 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -EXTRA_DIST = examples docs man tpl misc 1.5 +EXTRA_DIST = examples docs man tpl devel 1.6 1.7 SUBDIRS = src man 1.8
2.1 --- a/Makefile.in Fri Jul 23 11:36:13 2010 +0200 2.2 +++ b/Makefile.in Fri Jul 23 11:46:08 2010 +0200 2.3 @@ -204,7 +204,7 @@ 2.4 with_logdir = @with_logdir@ 2.5 with_spooldir = @with_spooldir@ 2.6 with_user = @with_user@ 2.7 -EXTRA_DIST = examples docs man tpl misc 2.8 +EXTRA_DIST = examples docs man tpl devel 2.9 SUBDIRS = src man 2.10 all: config.h 2.11 $(MAKE) $(AM_MAKEFLAGS) all-recursive
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/devel/README Fri Jul 23 11:46:08 2010 +0200 3.3 @@ -0,0 +1,3 @@ 3.4 +The files in devel/ are for developers of masqmail. 3.5 + 3.6 +Especially, there are script to support doing a release.
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/devel/are-options-documented Fri Jul 23 11:46:08 2010 +0200 4.3 @@ -0,0 +1,21 @@ 4.4 +#!/bin/sh 4.5 +# 4.6 +# checks if all recognized options are documented 4.7 +# run from masqmail's repository root dir 4.8 +# 4.9 +# Note: this script is far from perfect, but its development time to 4.10 +# usage value ratio is quite good :-) 4.11 + 4.12 +docs="/tmp/masqmail-opts-docs.$$" 4.13 +code="/tmp/masqmail-opts-code.$$" 4.14 + 4.15 +cat man/masqmail.*.5 | grep -o '^\\fB[^(\\]*\\f.' | 4.16 + egrep -v 'OBSOLETE|http://' | sed 's,^\\fB,,; s,[\\ =].*,,' | 4.17 + sort -u | grep -v '^val$' >"$docs" 4.18 + 4.19 +cat src/conf.c | grep 'lval,.*"' | 4.20 + sed 's,[^"]*",,; s,"\, [0-9]*,",; s,".*,,' | sort -u >"$code" 4.21 + 4.22 +diff -U 0 "$code" "$docs" | grep -v '^@@' 4.23 + 4.24 +rm -f "$docs" "$code"
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/devel/gen-dist Fri Jul 23 11:46:08 2010 +0200 5.3 @@ -0,0 +1,23 @@ 5.4 +#!/bin/sh 5.5 +# 5.6 +# generate a tar.gz archive to distribute 5.7 +# generate an md5sum and a detached signature of the archive 5.8 +# 5.9 +# requires: 5.10 +# - mercurial (hg) 5.11 +# - md5sum 5.12 +# - gnupg 5.13 + 5.14 +if [ $# -ne 1 -o -e "$1" ] ; then 5.15 + echo "usage: gen-dist DEST.tar.gz" 2>&1 5.16 + exit 1 5.17 +fi 5.18 + 5.19 +dir="${1%/*}" 5.20 +file="${1##*/}" 5.21 + 5.22 +hg archive -t tgz -X .hg\* "$1" 5.23 + 5.24 +cd "$dir" 5.25 +md5sum "$file" >"$file.md5sum" 5.26 +gpg -ab "$file"
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/devel/list-versions Fri Jul 23 11:46:08 2010 +0200 6.3 @@ -0,0 +1,13 @@ 6.4 +#!/bin/sh 6.5 +# 6.6 +# list the version numbers in several important files 6.7 +# run this script before generating a release 6.8 + 6.9 +( 6.10 +grep '^AC_INIT' /dev/null configure.* 6.11 +printf "Changelog:" 6.12 +sed -n '/^[0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}/{p;q}' ChangeLog 6.13 +printf "NEWS:" 6.14 +sed -n '/^[0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}/{p;q}' NEWS 6.15 +grep '^\.TH' /dev/null man/*.[0-9] 6.16 +) | sed 's~\([^:]*\):.*\([0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}\).*~\2 \1~'
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/devel/update-manpage-date Fri Jul 23 11:46:08 2010 +0200 7.3 @@ -0,0 +1,24 @@ 7.4 +#!/bin/sh 7.5 +# 7.6 +# update the date and version of man pages 7.7 + 7.8 +if [ $# -lt 2 ] ; then 7.9 + echo "usage: update-manpage-header VERSION FILES..." >&2 7.10 + exit 1 7.11 +fi 7.12 + 7.13 + 7.14 +date=`date +%Y-%m-%d` 7.15 + 7.16 +version="$1" 7.17 +shift 7.18 + 7.19 +for i do 7.20 + ed -s "$i" <<! 7.21 +/^\.TH/s#[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}#$date# 7.22 +s#[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}#$version# 7.23 +p 7.24 +w 7.25 +q 7.26 +! 7.27 +done
8.1 --- a/misc/README Fri Jul 23 11:36:13 2010 +0200 8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 8.3 @@ -1,3 +0,0 @@ 8.4 -The files in misc/ are for developers of masqmail. 8.5 - 8.6 -Especially, there are script to support doing a release.
9.1 --- a/misc/are-options-documented Fri Jul 23 11:36:13 2010 +0200 9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 9.3 @@ -1,21 +0,0 @@ 9.4 -#!/bin/sh 9.5 -# 9.6 -# checks if all recognized options are documented 9.7 -# run from masqmail's repository root dir 9.8 -# 9.9 -# Note: this script is far from perfect, but its development time to 9.10 -# usage value ratio is quite good :-) 9.11 - 9.12 -docs="/tmp/masqmail-opts-docs.$$" 9.13 -code="/tmp/masqmail-opts-code.$$" 9.14 - 9.15 -cat man/masqmail.*.5 | grep -o '^\\fB[^(\\]*\\f.' | 9.16 - egrep -v 'OBSOLETE|http://' | sed 's,^\\fB,,; s,[\\ =].*,,' | 9.17 - sort -u | grep -v '^val$' >"$docs" 9.18 - 9.19 -cat src/conf.c | grep 'lval,.*"' | 9.20 - sed 's,[^"]*",,; s,"\, [0-9]*,",; s,".*,,' | sort -u >"$code" 9.21 - 9.22 -diff -U 0 "$code" "$docs" | grep -v '^@@' 9.23 - 9.24 -rm -f "$docs" "$code"
10.1 --- a/misc/gen-dist Fri Jul 23 11:36:13 2010 +0200 10.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 10.3 @@ -1,23 +0,0 @@ 10.4 -#!/bin/sh 10.5 -# 10.6 -# generate a tar.gz archive to distribute 10.7 -# generate an md5sum and a detached signature of the archive 10.8 -# 10.9 -# requires: 10.10 -# - mercurial (hg) 10.11 -# - md5sum 10.12 -# - gnupg 10.13 - 10.14 -if [ $# -ne 1 -o -e "$1" ] ; then 10.15 - echo "usage: gen-dist DEST.tar.gz" 2>&1 10.16 - exit 1 10.17 -fi 10.18 - 10.19 -dir="${1%/*}" 10.20 -file="${1##*/}" 10.21 - 10.22 -hg archive -t tgz -X .hg\* "$1" 10.23 - 10.24 -cd "$dir" 10.25 -md5sum "$file" >"$file.md5sum" 10.26 -gpg -ab "$file"
11.1 --- a/misc/list-versions Fri Jul 23 11:36:13 2010 +0200 11.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 11.3 @@ -1,13 +0,0 @@ 11.4 -#!/bin/sh 11.5 -# 11.6 -# list the version numbers in several important files 11.7 -# run this script before generating a release 11.8 - 11.9 -( 11.10 -grep '^AC_INIT' /dev/null configure.* 11.11 -printf "Changelog:" 11.12 -sed -n '/^[0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}/{p;q}' ChangeLog 11.13 -printf "NEWS:" 11.14 -sed -n '/^[0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}/{p;q}' NEWS 11.15 -grep '^\.TH' /dev/null man/*.[0-9] 11.16 -) | sed 's~\([^:]*\):.*\([0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}\).*~\2 \1~'
12.1 --- a/misc/update-manpage-date Fri Jul 23 11:36:13 2010 +0200 12.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 12.3 @@ -1,24 +0,0 @@ 12.4 -#!/bin/sh 12.5 -# 12.6 -# update the date and version of man pages 12.7 - 12.8 -if [ $# -lt 2 ] ; then 12.9 - echo "usage: update-manpage-header VERSION FILES..." >&2 12.10 - exit 1 12.11 -fi 12.12 - 12.13 - 12.14 -date=`date +%Y-%m-%d` 12.15 - 12.16 -version="$1" 12.17 -shift 12.18 - 12.19 -for i do 12.20 - ed -s "$i" <<! 12.21 -/^\.TH/s#[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}#$date# 12.22 -s#[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}#$version# 12.23 -p 12.24 -w 12.25 -q 12.26 -! 12.27 -done