From 3426f8110b4292135d5747fdf1f53554ed0285ff Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Sat, 28 Jan 2017 23:07:11 -0500 Subject: [PATCH] Look for plmenu in build directory when creating WMRootMenu. Previously, plmenu already existed in the source directory, and that's where make looked for it. Now, however, it is generated to include the proper path to WPrefs and therefore is in the build directory. See https://www.gnu.org/software/make/manual/html_node/Makefile-Basics.html for more about this distinction. --- WindowMaker/Defaults/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WindowMaker/Defaults/Makefile.am b/WindowMaker/Defaults/Makefile.am index 344c0bf2..e61b41f3 100644 --- a/WindowMaker/Defaults/Makefile.am +++ b/WindowMaker/Defaults/Makefile.am @@ -23,5 +23,5 @@ WMState: $(srcdir)/WMState.in $(AM_V_GEN)sed -e "s:#wprefs#:$(wpexecbindir)/WPrefs:" $(srcdir)/WMState.in > WMState ; \ chmod 644 WMState -WMRootMenu: $(srcdir)/../plmenu - $(AM_V_GEN)cp -f $(srcdir)/../plmenu WMRootMenu +WMRootMenu: ./../plmenu + $(AM_V_GEN)cp -f ./../plmenu WMRootMenu