aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-01-05 14:08:32 (GMT)
committerMathias Gumz <mathias.gumz@gmail.com>2015-01-05 14:08:32 (GMT)
commitf8d0bd4cb303caad68c121a77974a3a0daa0c40e (patch)
tree94f2e1482a054e2316d8e3b8a066dcb6bdfc1f29 /src
parent0820bcb640e9030a99a4c47119df6b9305e632da (diff)
downloadfluxbox-f8d0bd4cb303caad68c121a77974a3a0daa0c40e.zip
fluxbox-f8d0bd4cb303caad68c121a77974a3a0daa0c40e.tar.bz2
Fix build-system: install data files (keys, apps, menu ...)
* Correctly build data files when operate outside of the $(srcdir) * Actually install data files * Use pkg-config to detect X11, works better on MacOSX. We used pkg-config already anyway, double checking for X11 does not yield better results. * Replace EXEEXT in some files while before installing them
Diffstat (limited to 'src')
-rw-r--r--src/Makemodule.am10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/Makemodule.am b/src/Makemodule.am
index 2fd5891..3f1fa06 100644
--- a/src/Makemodule.am
+++ b/src/Makemodule.am
@@ -65,9 +65,9 @@ src/defaults.cc: force
65 echo ''; \ 65 echo ''; \
66 echo 'const char* gitrevision() {'; \ 66 echo 'const char* gitrevision() {'; \
67 if test -r $$GITDIR/HEAD; then \ 67 if test -r $$GITDIR/HEAD; then \
68 echo ' return "'`cat $$GITDIR/$$(cat $$GITDIR/HEAD | cut -f 2 -d ' ')`'";'; \ 68 echo ' return "'`cd $$GITDIR && git rev-parse HEAD`'";'; \
69 else \ 69 else \
70 echo ' return "this_is_tar_ball_build";'; \ 70 echo ' return "unknown";'; \
71 fi; \ 71 fi; \
72 echo '}' ) > $(top_builddir)/src/defaults_tmp.cc 72 echo '}' ) > $(top_builddir)/src/defaults_tmp.cc
73 @if ! cmp $(top_builddir)/src/defaults_tmp.cc $(top_builddir)/src/defaults.cc ; then cp $(top_builddir)/src/defaults_tmp.cc $(top_builddir)/src/defaults.cc; fi 73 @if ! cmp $(top_builddir)/src/defaults_tmp.cc $(top_builddir)/src/defaults.cc ; then cp $(top_builddir)/src/defaults_tmp.cc $(top_builddir)/src/defaults.cc; fi
@@ -151,11 +151,7 @@ fluxbox_LDADD = \
151 $(XFT_LIBS) \ 151 $(XFT_LIBS) \
152 $(XINERAMA_LIBS) \ 152 $(XINERAMA_LIBS) \
153 $(XPM_LIBS) \ 153 $(XPM_LIBS) \
154 $(XRENDER_LIBS) \ 154 $(XRENDER_LIBS)
155 $(X_EXTRA_LIBS) \
156 $(X_LIBS) \
157 $(X_PRE_LIBS) \
158 $(X11_LIBS)
159 155
160fluxbox_SOURCES = \ 156fluxbox_SOURCES = \
161 src/AlphaMenu.cc \ 157 src/AlphaMenu.cc \