summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-10-04 12:13:31 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-10-07 23:15:58 +0000
commit0a7b888e8f98ccf8f942c99cf7ca2efcdbdebda9 (patch)
treefd43e10a2cbe4cb2d378990a6eec3a9dad2d9f78
parentd37c0efaaa6805a27141fcbd28b8224c4bc604d8 (diff)
Declare more make targets phony
I forgot to do this when creating the Makefile. Change-Id: I13437bc54905c13cf189f7e43a659c5cec8c7326 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fb82b2d..9de7219 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
# Expects GNU make, run on Unix (so #!/usr/bin/env ... scripts work)
# See ReadMe.rst for further details.
default: html
-.PHONY: html
+.PHONY: default html
HTMLDIR ?= ../html
# Don't print setup commands as they are run, unless VERBOSE is set:
@@ -44,6 +44,7 @@ template.html: scripts/template.diff planetqt/template.qt
$Q patch -l -p0 -i $< -o scripts/$@ && mv scripts/$@ $@
# We only stomp template.html if patch succeeds.
+.PHONY: clean
clean:
$Q rm -f scripts/template.html template.html
$Q echo "Remove the generated HTML (perhaps in $(HTMLDIR)) yourself"
@@ -54,5 +55,6 @@ planetqt/template.qt planetqt/website:
# TODO: we need a non-heroku site (QTWEBSITE-978)
HTMLURL ?= http://quips-qt-io.herokuapp.com/
+.PHONY: check
check: html
checklink -qbr $(HTMLURL) 2>&1 | grep -wv 'Use of uninitialized value .*/checklink line'