WPrefs: Display warning when attempting to modify a read-only menu file.
[wmaker-crm.git] / WindowMaker / Defaults / Makefile.am
blob1556fbf9634f792eb5228a6abdb75503708105a8
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):" \
16                 -e "s:#pixmapdir#:$(pixmapdir):" $(srcdir)/WindowMaker.in \
17                 > WindowMaker ; \
18         chmod 644 WindowMaker
20 WMState: $(srcdir)/WMState.in
21         $(AM_V_GEN)sed -e "s:#wprefs#:$(wpexecbindir)/WPrefs:" $(srcdir)/WMState.in > WMState ; \
22         chmod 644 WMState
24 WMRootMenu: ./../plmenu
25         $(AM_V_GEN)cp -f ./../plmenu WMRootMenu