diff --git a/chapters/automake/nonrecursive.xmli b/chapters/automake/nonrecursive.xmli index 598689a..906f0b6 100644 --- a/chapters/automake/nonrecursive.xmli +++ b/chapters/automake/nonrecursive.xmli @@ -224,7 +224,7 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = pkgconfig/foo.pc pkgconfig/foo-bar.pc %-bar.pc: %.pc - $(LN_S) $^ $@ + $(LN_S) $< $@ ]]> @@ -235,9 +235,8 @@ pkgconfig_DATA = pkgconfig/foo.pc pkgconfig/foo-bar.pc - To avoid this kind of problem, you can make use of - GNU make extended functions in the - rules, to transform the path from full-relative form to base + To avoid this kind of problem, you can make use of the alternative + forms to transform the path from full-relative form to base form (without the path). For instance the fragment above should be replaced by the following: @@ -247,7 +246,7 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = pkgconfig/foo.pc pkgconfig/foo-bar.pc %-bar.pc: %.pc - $(LN_S) $(notdir $^) $@ + $(LN_S) $( diff --git a/chapters/automake/silent.xmli b/chapters/automake/silent.xmli index 3b8b4fa..fb3bc35 100644 --- a/chapters/automake/silent.xmli +++ b/chapters/automake/silent.xmli @@ -220,7 +220,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])