makefile: make silent rule work also for generated files
[wmaker-crm.git] / WindowMaker / Defaults / Makefile.am
blob344c0bf2efc4e7d4d2e20e8d4757b604a8a156b0
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: $(srcdir)/../plmenu
27         $(AM_V_GEN)cp -f $(srcdir)/../plmenu WMRootMenu