public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pkgcore/snakeoil:master commit in: /
Date: Tue,  8 Nov 2022 18:38:39 +0000 (UTC)	[thread overview]
Message-ID: <1667932700.37a086523bb1aee2a75309065b145047850c5199.arthurzam@gentoo> (raw)

commit:     37a086523bb1aee2a75309065b145047850c5199
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  8 18:38:20 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Nov  8 18:38:20 2022 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=37a08652

Makefile: cleanup and improve

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 Makefile | 24 +++++++-----------------
 1 file changed, 7 insertions(+), 17 deletions(-)

diff --git a/Makefile b/Makefile
index 2ff7e761..f49201a1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,15 @@
 PYTHON ?= python
 
 SPHINX_BUILD ?= sphinx-build
-SPHINX_BUILD_SOURCE_DIR ?= doc
-SPHINX_BUILD_BUILD_DIR ?= build/sphinx
 
-.PHONY: man
-man:
-	$(SPHINX_BUILD) -a -b man $(SPHINX_BUILD_SOURCE_DIR) $(SPHINX_BUILD_BUILD_DIR)/man
+.PHONY: man html
+man html:
+	$(SPHINX_BUILD) -a -b $@ doc build/sphinx/$@
 
-.PHONY: html
-html:
-	$(SPHINX_BUILD) -a -b html $(SPHINX_BUILD_SOURCE_DIR) $(SPHINX_BUILD_BUILD_DIR)/html
-
-.PHONY: sdist
-sdist:
-	$(PYTHON) -m build --sdist
-
-.PHONY: wheel
-wheel:
-	$(PYTHON) -m build --wheel
+.PHONY: sdist wheel
+sdist wheel:
+	$(PYTHON) -m build --$@
 
 .PHONY: clean
 clean:
-	$(RM) -r build/sphinx doc/api
+	$(RM) -r build/sphinx doc/api dist


             reply	other threads:[~2022-11-08 18:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-08 18:38 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-08 19:43 [gentoo-commits] proj/pkgcore/snakeoil:master commit in: / Arthur Zamarin
2024-01-26 19:50 Arthur Zamarin
2024-01-26  9:19 Arthur Zamarin
2024-01-25 15:41 Arthur Zamarin
2024-01-25 15:41 Arthur Zamarin
2024-01-19  9:59 Arthur Zamarin
2023-12-22 15:04 Arthur Zamarin
2023-12-22 14:59 Arthur Zamarin
2023-03-24 10:55 Arthur Zamarin
2022-12-25 18:20 Arthur Zamarin
2022-12-25 18:11 Arthur Zamarin
2022-12-25 17:49 Arthur Zamarin
2022-12-09 13:50 Arthur Zamarin
2022-11-15  6:24 Arthur Zamarin
2022-11-08 19:22 Arthur Zamarin
2022-11-08 18:38 Arthur Zamarin
2022-11-02 18:53 Arthur Zamarin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1667932700.37a086523bb1aee2a75309065b145047850c5199.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox