Look for plmenu in build directory when creating WMRootMenu.
[wmaker-crm.git] / WindowMaker / Defaults / Makefile.am
blobe61b41f377d3c15d81657d59f55d1006aa6c97e4
2 defsdatadir = $(sysconfdir)/WindowMaker
4 defsdata_DATA = WMRootMenu WMWindowAttributes WindowMaker WMState WMGLOBAL
6 wpexecbindir = @wprefs_bindir@
8 EXTRA_DIST = WMGLOBAL WMWindowAttributes.in WindowMaker.in WMState.in
10 CLEANFILES = WMWindowAttributes WindowMaker WMState WMRootMenu
12 WMWindowAttributes: $(srcdir)/WMWindowAttributes.in
13         $(AM_V_GEN)sed -e "s:#extension#:@ICONEXT@:" \
14                 $(srcdir)/WMWindowAttributes.in > WMWindowAttributes ; \
15         chmod 644 WMWindowAttributes
17 WindowMaker: $(srcdir)/WindowMaker.in
18         $(AM_V_GEN)sed -e "s:#pkgdatadir#:$(pkgdatadir):" $(srcdir)/WindowMaker.in \
19                 > WindowMaker ; \
20         chmod 644 WindowMaker
22 WMState: $(srcdir)/WMState.in
23         $(AM_V_GEN)sed -e "s:#wprefs#:$(wpexecbindir)/WPrefs:" $(srcdir)/WMState.in > WMState ; \
24         chmod 644 WMState
26 WMRootMenu: ./../plmenu
27         $(AM_V_GEN)cp -f ./../plmenu WMRootMenu