Move the "show" target from target.mk to boilerplate.mk
authorIan Lynagh <igloo@earth.li>
Sat, 13 Sep 2008 14:13:12 +0000 (14:13 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 13 Sep 2008 14:13:12 +0000 (14:13 +0000)
target.mk isn't included everywhere, but show is always handy

mk/boilerplate.mk
mk/target.mk

index 8e4f322..0e7e752 100644 (file)
@@ -22,6 +22,15 @@ FPTOOLS_TOP := $(TOP)
 #              THIS RULE MUST REMAIN FIRST!
 default: all
 
+#------------------------------------------------------------
+#                      Makefile debugging
+# to see the effective value used for a Makefile variable, do
+#  make show VALUE=MY_VALUE
+#
+
+show:
+       @echo '$(VALUE)="$($(VALUE))"'
+
 # -----------------------------------------------------------------------------
 # Misc bits
 
index 407a293..37a72bc 100644 (file)
@@ -500,15 +500,6 @@ ifneq "$(TAGS_C_SRCS)" ""
 endif
        @( DEREFFED=`ls -l Makefile | sed -e 's/.*-> \(.*\)/\1/g'` && $(RM) `dirname $$DEREFFED`/TAGS && $(CP) TAGS `dirname $$DEREFFED` ) 2>/dev/null || echo TAGS file generated, perhaps copy over to source tree?
 
-#------------------------------------------------------------
-#                      Makefile debugging
-# to see the effective value used for a Makefile variable, do
-#  make show VALUE=MY_VALUE
-#
-
-show:
-       @echo '$(VALUE)="$($(VALUE))"'
-
 ################################################################################
 #
 #                      DocBook XML Documentation