From: Tomi Ollila Date: Mon, 6 Jan 2014 09:21:56 +0000 (+0200) Subject: [PATCH 1/1] devel/release-checks.sh: check PROJECT_NAME in doxygen.cfg X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a4391ef76d0666685ca05437399b083335a981ab;p=notmuch-archives.git [PATCH 1/1] devel/release-checks.sh: check PROJECT_NAME in doxygen.cfg --- diff --git a/c4/fb2c221deb178fd88b6449239dcf81521d1780 b/c4/fb2c221deb178fd88b6449239dcf81521d1780 new file mode 100644 index 000000000..23d00cb70 --- /dev/null +++ b/c4/fb2c221deb178fd88b6449239dcf81521d1780 @@ -0,0 +1,81 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 73FA9431FC2 + for ; Mon, 6 Jan 2014 01:22:08 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 7G8Zk65moNrf for ; + Mon, 6 Jan 2014 01:22:04 -0800 (PST) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id EF318431FBF + for ; Mon, 6 Jan 2014 01:22:03 -0800 (PST) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id 06FC9100063; Mon, 6 Jan 2014 11:21:58 +0200 (EET) +From: Tomi Ollila +To: notmuch@notmuchmail.org +Subject: [PATCH 1/1] devel/release-checks.sh: check PROJECT_NAME in + doxygen.cfg +Date: Mon, 6 Jan 2014 11:21:56 +0200 +Message-Id: <1389000116-16702-1-git-send-email-tomi.ollila@iki.fi> +X-Mailer: git-send-email 1.8.0 +Cc: tomi.ollila@iki.fi +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 06 Jan 2014 09:22:08 -0000 + +Check that PROJECT_NAME configuration option in doxygen.cfg equals +"Notmuch $VERSION" in devel/release-checks.sh. +--- + +Note that release-checks.sh is not yet able to parse the doxygen-generated +namual pages in man/man3... Decision how to handle those is to be made +later... + + devel/release-checks.sh | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +diff --git a/devel/release-checks.sh b/devel/release-checks.sh +index 8938905..0585f68 100755 +--- a/devel/release-checks.sh ++++ b/devel/release-checks.sh +@@ -236,6 +236,19 @@ do + done + echo $man_pages_ok. + ++doxygen_notmuch_version="\"Notmuch $VERSION\"" ++doxyfile=devel/doxygen.cfg ++echo -n "Checking that $doxyfile PROJECT_NAME is $doxygen_notmuch_version... " ++doxygen_project_name=`sed -n '/^PROJECT_NAME/ { s/^[^"]*//p; q;}' $doxyfile` ++if [ "$doxygen_project_name" = "$doxygen_notmuch_version" ] ++then ++ echo Yes. ++else ++ append_emsg "PROJECT_NAME '$doxygen_project_name' is not '$doxygen_notmuch_version' in '$doxyfile'" ++ echo No. ++fi ++ ++ + if [ -n "$emsgs" ] + then + echo +-- +1.8.4.2 +