[PATCH -perfbook 3/3] Makefile: Promote epstopdf-rule.mk as the default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It turns out that recipes in epstopdf-rule.mk work reasonably well
and is quicker than those in a2ping-rule.mk on most build environments
tested so far.

So promote epstopdf-rule.mk as the default by inverting the conditional.

a2ping-rule.mk can still be enabled by setting a make variable
"USE_A2PING" as follows:

    make USE_A2PING=1

, when you need to compare the two sets of recipes.

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 6083cda4..0702fdb7 100644
--- a/Makefile
+++ b/Makefile
@@ -417,7 +417,7 @@ endif
 	@sh $(FIXANEPSFONTS) $@
 
 # .eps --> .pdf rules
-ifndef NO_A2PING
+ifdef USE_A2PING
   include a2ping-rule.mk
 else
   include epstopdf-rule.mk
-- 
2.17.1





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux