git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Add a simple makefile

From
PRPavel Roskin <proski@gnu.org>
Date
May 3, 2006, 15:34 UTC
Message-ID
<20060503153431.9246.64487.stgit@dv.roinet.com>
From: Pavel Roskin <proski@gnu.org>
---
 Makefile |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..df77d97
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+PREFIX = $(HOME)
+DESTDIR = /
+PYTHON = python
+
+all:
+	$(PYTHON) setup.py build
+
+install:
+	$(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR)
+
+doc:
+	cd doc && $(MAKE) all
+
+test:
+	cd t && $(MAKE) all
+
+clean:
+	for dir in doc t; do \
+		(cd $$dir && $(MAKE) clean); \
+	done
+	rm -rf build
+	rm -f stgit/*.pyc
+	rm -f stgit/commands/*.pyc
Message 1 of 1 in “Add a simple makefile”
  1. Add a simple makefilePavel Roskin, May 3, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.