]> sourceware.org Git - systemtap.git/commitdiff
Tweak relative git_version.h rules
authorJosh Stone <jistone@redhat.com>
Thu, 2 Aug 2012 20:15:47 +0000 (13:15 -0700)
committerJosh Stone <jistone@redhat.com>
Thu, 2 Aug 2012 20:15:47 +0000 (13:15 -0700)
stapdyn/Makefile.am
stapdyn/Makefile.in
staprun/Makefile.am
staprun/Makefile.in

index 00b4bb1202267809c8a3c6031216e418c769c0ac..2ae2d79e3955f55c262ce695c3c34b4a9e613b2f 100644 (file)
@@ -37,4 +37,4 @@ BUILT_SOURCES =
 # Arrange for the top-level git_version.h to be regenerated at every "make".
 BUILT_SOURCES += git_version.stamp
 git_version.stamp ../git_version.h:
-       $(MAKE) -C .. $@
+       $(MAKE) -C .. $(notdir $@)
index 24d5149a97b474bd3710f588a81605035fbde362..7871fe38c7a520215d6707248fc5ed7f5fb6a908 100644 (file)
@@ -637,7 +637,7 @@ uninstall-am: uninstall-binPROGRAMS
        uninstall-am uninstall-binPROGRAMS
 
 git_version.stamp ../git_version.h:
-       $(MAKE) -C .. $@
+       $(MAKE) -C .. $(notdir $@)
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
index d63e78a8397425f1b5abde403f4218d92fa2c444..9f68af36326734e8584679991ca161d57b058583 100644 (file)
@@ -54,7 +54,7 @@ CLEANFILES =
 # Arrange for the top-level git_version.h to be regenerated at every "make".
 BUILT_SOURCES += git_version.stamp
 git_version.stamp ../git_version.h:
-       $(MAKE) -C .. $@
+       $(MAKE) -C .. $(notdir $@)
 
 
 # Why the "id -u" condition?  This way, an unprivileged user can run
index 819d67ddeb75e1d4bf6359c48be480b6572115f6..2d078f22ef0fdf402f4f3eaf9a64e36d471476b4 100644 (file)
@@ -876,7 +876,7 @@ uninstall-man: uninstall-man8
        uninstall-man uninstall-man8 uninstall-pkglibexecPROGRAMS
 
 git_version.stamp ../git_version.h:
-       $(MAKE) -C .. $@
+       $(MAKE) -C .. $(notdir $@)
 
 # Why the "id -u" condition?  This way, an unprivileged user can run
 # make install, and have "sudo stap ...." or "sudo staprun ...." work later.
This page took 0.030064 seconds and 5 git commands to generate.