diff options
author | Juhani Krekelä | 2025-02-16 01:49:39 +0200 |
---|---|---|
committer | Wolfgang Müller | 2025-02-16 12:40:50 +0100 |
commit | 11839743dca3673cba07c234262d50639f0b0a06 (patch) | |
tree | 900db88543318380c93b8d514e588eceb1d0467e | |
parent | 1861d0893353270b6e3dc11ee9e8a79304d8a9cb (diff) | |
download | later-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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |