From patchwork Wed Nov 28 21:40:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 202555 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 0545E2C0079 for ; Thu, 29 Nov 2012 08:41:09 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BCBBA31096; Wed, 28 Nov 2012 21:41:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CPCK54YWt+6J; Wed, 28 Nov 2012 21:41:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8C0E83108F; Wed, 28 Nov 2012 21:41:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 2B1068F74A for ; Wed, 28 Nov 2012 21:40:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EC41589FD8 for ; Wed, 28 Nov 2012 21:40:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uO7l+hVLFlps for ; Wed, 28 Nov 2012 21:40:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by whitealder.osuosl.org (Postfix) with ESMTPS id F0B3A89B39 for ; Wed, 28 Nov 2012 21:40:47 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hm2so4506135wib.10 for ; Wed, 28 Nov 2012 13:40:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=YNoopyjOEP/V/HNvFPnmGIZQoftMZDYVjY588AgX5A4=; b=V5tFG10ppYzyh9oBL8G/pFxiTDwuj9oMs8oH6+5javl9/xCE0oHE2GXO5cgoAWq7cQ Dlg6Hd+9zoc1q5mjqKABGen85dFcEbUdYCT8Vfk2wW3Zzj+0c/Y2TniNXq6rMKyR8ZXK Y3F80WbLlJN4W8b1le5JW6FwV9UK2qzS1TMtbyBo01fkrZ0dw31cdbC+F5b5A7RI+8qc Wma8OBE3hOq9/SqmpO7mflg+3Z5M+SDW7GNW5mPip+x7lEl78S8eiZb1SRb/yjLWWKNI 6kmi7wkr/JAKIf9YQ1TpJo3fQ5KBFMxV/g+nC+nIGEGZ8cBpGGj4uQsHn+Lbqw3vOQze jNGA== Received: by 10.216.200.160 with SMTP id z32mr7673004wen.53.1354138846435; Wed, 28 Nov 2012 13:40:46 -0800 (PST) Received: from localhost.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net. [82.229.165.48]) by mx.google.com with ESMTPS id ec3sm8680337wib.10.2012.11.28.13.40.44 (version=SSLv3 cipher=OTHER); Wed, 28 Nov 2012 13:40:45 -0800 (PST) From: Samuel Martin To: buildroot@busybox.net Date: Wed, 28 Nov 2012 22:40:30 +0100 Message-Id: <1354138832-18149-4-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 1.8.0.1 In-Reply-To: <1354138832-18149-1-git-send-email-s.martin49@gmail.com> References: <1354138832-18149-1-git-send-email-s.martin49@gmail.com> Subject: [Buildroot] [PATCH 4/6] manual: add manual-update-lists and manual-clean-lists targets X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Samuel Martin --- docs/manual/manual.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/manual/manual.mk b/docs/manual/manual.mk index a344efe..2e4ff6d 100644 --- a/docs/manual/manual.mk +++ b/docs/manual/manual.mk @@ -47,6 +47,18 @@ $(TOPDIR)/docs/manual/package-list.txt: $(TOPDIR)/docs/manual/deprecated-list.txt: python2 $(TOPDIR)/support/scripts/deprecated.py > $@ +manual-clean-lists: + -@$(RM) $(TOPDIR)/docs/manual/package-list.txt + -@$(RM) $(TOPDIR)/docs/manual/deprecated-list.txt + +manual-update-lists: manual-clean-lists $(TOPDIR)/docs/manual/package-list.txt \ + $(TOPDIR)/docs/manual/deprecated-list.txt + @$(call MESSAGE,"Updating the manual lists...") + @test -d $(TOPDIR)/.git && \ + ( cd $(TOPDIR) ; git diff --exit-code docs/manual/ &>/dev/null && \ + echo -en "\nManual is up-to-date.\n\n" ) || \ + echo -en "\nManual is out of date.\nCheck and save the changes if necessary.\n\n" + ################################################################################ # GENDOC -- generates the make targets needed to build asciidoc documentation. #