configure: Add option to specify global defaults directory.
[wmaker-crm.git] / WindowMaker / Defaults / Makefile.am
blob182385c1fe95d4ad05d8470614006e84dc46140c
1 defsdata_DATA = WMRootMenu WMWindowAttributes WindowMaker WMState WMGLOBAL
3 wpexecbindir = @wprefs_bindir@
5 EXTRA_DIST = WMGLOBAL WMWindowAttributes.in WindowMaker.in WMState.in
7 CLEANFILES = WMWindowAttributes WindowMaker WMState WMRootMenu
9 WMWindowAttributes: $(srcdir)/WMWindowAttributes.in
10         $(AM_V_GEN)sed -e "s:#extension#:@ICONEXT@:" \
11                 $(srcdir)/WMWindowAttributes.in > WMWindowAttributes ; \
12         chmod 644 WMWindowAttributes
14 WindowMaker: $(srcdir)/WindowMaker.in
15         $(AM_V_GEN)sed -e "s:#pkgdatadir#:$(pkgdatadir):" $(srcdir)/WindowMaker.in \
16                 > WindowMaker ; \
17         chmod 644 WindowMaker
19 WMState: $(srcdir)/WMState.in
20         $(AM_V_GEN)sed -e "s:#wprefs#:$(wpexecbindir)/WPrefs:" $(srcdir)/WMState.in > WMState ; \
21         chmod 644 WMState
23 WMRootMenu: ./../plmenu
24         $(AM_V_GEN)cp -f ./../plmenu WMRootMenu