all repos — fluxbox @ cbcc6401c6a87623f8cf714cd699db3b63079915

custom fork of the fluxbox windowmanager

cleaner compile, default defines in generated defaults.hh file now
fluxgen fluxgen
commit

cbcc6401c6a87623f8cf714cd699db3b63079915

parent

aa7f88e27a8ff77296c0ec016654be66d36f342a

1 files changed, 13 insertions(+), 7 deletions(-)

jump to
M src/Makefile.amsrc/Makefile.am

@@ -29,16 +29,22 @@ DEFAULT_STYLE=$(pkgdatadir)/styles/Clean

DEFAULT_KEYSFILE=$(pkgdatadir)/keys DEFAULT_INITFILE= -AM_CPPFLAGS= -Wall @CPPFLAGS@ \ --DLOCALEPATH=\"$(pkgdatadir)/nls\" \ --DDEFAULTMENU=\"$(DEFAULT_MENU)\" \ --DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \ --DDEFAULTKEYSFILE=\"$(DEFAULT_KEYSFILE)\"\ --DDEFAULT_INITFILE=\"$(pkgdatadir)/init\"\ --IFbTk +AM_CPPFLAGS= -Wall @CPPFLAGS@ -IFbTk bin_PROGRAMS= fluxbox +BUILT_SOURCES = defaults.hh +defaults.hh: Makefile + echo '// This file is generated from makefile. Do not edit!' > defaults.hh + echo '#define DEFAULTMENU "$(DEFAULTMENU)"' >> defaults.hh + echo '#define DEFAULTSTYLE "$(DEFAULT_STYLE)"' >> defaults.hh + echo '#define DEFAULTKEYSFILE "$(DEFAULT_KEYSFILE)"' >> defaults.hh + echo '#define DEFAULT_INITFILE "$(pkgdatadir)/init"' >> defaults.hh + echo '#define LOCALEPATH "$(pkgdatadir)/nls"' >> defaults.hh +# some extra deps for I18n and fluxbox + +I18n.$(OBJEXT): defaults.hh +fluxbox.$(OBJEXT): defaults.hh if NEWWMSPEC newwmspec_SOURCE= Ewmh.hh Ewmh.cc