defsdatadir = $(sysconfdir)/WindowMaker

defsdata_DATA = WMRootMenu WMWindowAttributes WindowMaker WMState WMGLOBAL

wpexecbindir = @wprefs_bindir@

EXTRA_DIST = WMGLOBAL WMWindowAttributes.in WindowMaker.in WMState.in

CLEANFILES = WMWindowAttributes WindowMaker WMState

WMWindowAttributes: $(srcdir)/WMWindowAttributes.in
	-rm -f WMWindowAttributes
	sed -e "s:#extension#:@ICONEXT@:" \
		$(srcdir)/WMWindowAttributes.in > WMWindowAttributes
	chmod 644 WMWindowAttributes

WindowMaker: $(srcdir)/WindowMaker.in
	-rm -f WindowMaker
	sed -e "s:#pkgdatadir#:$(pkgdatadir):" $(srcdir)/WindowMaker.in \
		> WindowMaker
	chmod 644 WindowMaker

WMState: $(srcdir)/WMState.in
	-rm -f WMState
	sed -e "s:#wprefs#:$(wpexecbindir)/WPrefs:" $(srcdir)/WMState.in > WMState
	chmod 644 WMState

WMRootMenu: $(srcdir)/../plmenu
	-cp -f $(srcdir)/../plmenu WMRootMenu



syntax highlighted by Code2HTML, v. 0.9.1