Skip to contentSkip to conversation

Makefile: Denote phony targets explicitly

PATCH Applied Akira Yokosawa 2 participants 3 messages May 3, 2016 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: Denote phony targets explicitly

From a79124b5e603b3961242e882910e713d7ce0149a Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Wed, 4 May 2016 00:00:30 +0900
Subject: [PATCH] Makefile: Denote phony targets explicitly

By this change, even if a file having the same name is created accidentally, behavior of the Makefile won't be affected any more.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index 1b508b1..7653c80 100644
@@ -167,6 +167,7 @@ BIBSOURCES = \
 	bib/swtools.bib \
 	bib/syncrefs.bib
 
+.PHONY: all extraction embedfonts clean distclean neatfreak
 all: perfbook.pdf
 
 perfbook.pdf: perfbook.bbl $(LATEXSOURCES) $(EPSSOURCES) extraction embedfonts
Signature · 1 line
1.9.1
#1 lore raw
Quoted 19 lines · Akira Yokosawa
Quoted 1 line

From a79124b5e603b3961242e882910e713d7ce0149a Mon Sep 17 00:00:00 2001

From: Akira Yokosawa <[email protected]>
Date: Wed, 4 May 2016 00:00:30 +0900
Subject: [PATCH] Makefile: Denote phony targets explicitly

By this change, even if a file having the same name is created accidentally, behavior of the Makefile won't be affected any more.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +0 -0
index 1b508b1..7653c80 100644

Makefile BIBSOURCES = \ · line 173

Quoted 7 lines
Makefile +1 -0
@@ -167,6 +167,7 @@ BIBSOURCES = \
 	bib/swtools.bib \
 	bib/syncrefs.bib
 
+.PHONY: all extraction embedfonts clean distclean neatfreak
 all: perfbook.pdf
 
 perfbook.pdf: perfbook.bbl $(LATEXSOURCES) $(EPSSOURCES) extraction embedfonts

Hi,

I want this one to be pulled before start working on v2 of "Another round of build script tweaks" series.

Thanks, Akira

#2 lore raw
In reply to Akira Yokosawa
Quoted 9 lines · Akira Yokosawa
Quoted 1 line

From a79124b5e603b3961242e882910e713d7ce0149a Mon Sep 17 00:00:00 2001

From: Akira Yokosawa <[email protected]>
Date: Wed, 4 May 2016 00:00:30 +0900
Subject: [PATCH] Makefile: Denote phony targets explicitly

By this change, even if a file having the same name is created accidentally, behavior of the Makefile won't be affected any more.

Queued and pushed, thank you!

Thanx, Paul

Quoted 24 lines
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index 1b508b1..7653c80 100644
@@ -167,6 +167,7 @@ BIBSOURCES = \
 	bib/swtools.bib \
 	bib/syncrefs.bib
 
+.PHONY: all extraction embedfonts clean distclean neatfreak
 all: perfbook.pdf
 
 perfbook.pdf: perfbook.bbl $(LATEXSOURCES) $(EPSSOURCES) extraction embedfonts
Signature · 6 lines
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html