aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJuhani Krekelä2025-02-16 01:49:39 +0200
committerWolfgang Müller2025-02-16 12:40:50 +0100
commit11839743dca3673cba07c234262d50639f0b0a06 (patch)
tree900db88543318380c93b8d514e588eceb1d0467e
parent1861d0893353270b6e3dc11ee9e8a79304d8a9cb (diff)
downloadlater-11839743dca3673cba07c234262d50639f0b0a06.tar.gz
Add an "all" target to Makefile
If make(1) is invoked without specifying a target name, it will run the first target in the file, which used to be "install". Add an "all" target before it to avoid violating the principle of least astonishment.
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 562ce45..89997db 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@ PREFIX ?= /usr/local
SRC != find src -type f
+all: later.pyz
+
install: later.pyz later.1
install -D -m 755 later.pyz '${DESTDIR}${PREFIX}/bin/later'
install -D -m 644 -t '${DESTDIR}${PREFIX}/share/man/man1' later.1
@@ -15,4 +17,4 @@ clean:
test:
pytest -q
-.PHONY: install clean test
+.PHONY: all install clean test