From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E77A813800E for ; Fri, 10 Aug 2012 15:16:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22DF6E0693; Fri, 10 Aug 2012 15:16:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E7456E0693 for ; Fri, 10 Aug 2012 15:16:15 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 401201B40C2 for ; Fri, 10 Aug 2012 15:16:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 5E48DE5449 for ; Fri, 10 Aug 2012 15:16:12 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1344611557.fe22bec5472fb8230bfc84d9b4ca3acdd05f4ada.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: / X-VCS-Repository: proj/R_overlay X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: fe22bec5472fb8230bfc84d9b4ca3acdd05f4ada X-VCS-Branch: master Date: Fri, 10 Aug 2012 15:16:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a47c9047-f4be-4251-b221-992842f4bf90 X-Archives-Hash: 9d5e7385e2a0809d9b89836d062ec61f commit: fe22bec5472fb8230bfc84d9b4ca3acdd05f4ada Author: André Erdmann mailerd de> AuthorDate: Fri Aug 10 15:12:37 2012 +0000 Commit: André Erdmann mailerd de> CommitDate: Fri Aug 10 15:12:37 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=fe22bec5 Makefile: html target --- Makefile | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cf7f9c4..4a1452b 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ SELFDOC := $(DOCDIR)/pydoc default \ clean-log clean distclean _pyclean _pydoc_clean \ run-test run-sync test \ - pydoc $(SELFDOC) $(DOCDIR) doc \ + pydoc $(SELFDOC) docs htmldoc html \ pyver \ install install-all \ install-roverlay install-pymodules \ @@ -57,8 +57,13 @@ _pydoc_clean: distclean: clean _pyclean _pydoc_clean # generates docs in $(DOCDIR)/ -$(DOCDIR): $(SELFDOC) -docs: $(DOCDIR) +$(DOCDIR): + @mkdir $(DOCDIR) + +$(DOCDIR)/html: $(DOCDIR) + @mkdir $(DOCDIR)/html + +docs: $(SELFDOC) htmldoc $(SELFDOC)/roverlay: test -d $(SELFDOC) || mkdir -p $(SELFDOC) @@ -71,6 +76,11 @@ $(SELFDOC): $(SELFDOC)/roverlay # alias to $(SELFDOC) pydoc: $(SELFDOC) +html: $(DOCDIR)/html $(DOCDIR)/rst/usage.rst + rst2html.py $(DOCDIR)/rst/usage.rst $(DOCDIR)/html/usage.html + +htmldoc: html + # sync all repos run-sync: $(ROVERLAY_MAIN) $(PYTHON) $(ROVERLAY_MAIN) sync