From d26e439375245be6a5c2044be93b952f02ad68f7 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 10 Apr 2004 19:52:43 +0000 Subject: =?UTF-8?q?minor=20fix,=20patch=20from=20Fr=EF=BF=BDd=EF=BF=BDric?= =?UTF-8?q?=20L.=20W.=20Meunier=20(1=20at=20pervalidus=20dot=20net)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/Makefile.am | 2 +- doc/Makefile.am | 2 +- src/Makefile.am | 2 +- util/Makefile.am | 10 +++++----- util/fbrun/Makefile.am | 2 +- xft.m4 | 6 +++--- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/data/Makefile.am b/data/Makefile.am index 3fda5cc..f9426a3 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -9,7 +9,7 @@ all-local: menu init distclean-local: rm -f *\~ init: init.in - @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" init.in > init + @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" $(srcdir)/init.in > init menu: ../util/fluxbox-generate_menu env MENUFILENAME=menu \ diff --git a/doc/Makefile.am b/doc/Makefile.am index 33f453c..cfcf605 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -10,4 +10,4 @@ distclean-local: rm -f *\~ fluxbox.1: fluxbox.1.in - @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," fluxbox.1.in > fluxbox.1 + @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," $(srcdir)/fluxbox.1.in > fluxbox.1 diff --git a/src/Makefile.am b/src/Makefile.am index 4257fed..3b913e7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -29,7 +29,7 @@ DEFAULT_STYLE=$(pkgdatadir)/styles/Clean DEFAULT_KEYSFILE=$(pkgdatadir)/keys DEFAULT_INITFILE= -AM_CPPFLAGS=@CPPFLAGS@ -IFbTk +AM_CPPFLAGS=@CPPFLAGS@ -I$(srcdir)/FbTk bin_PROGRAMS= fluxbox BUILT_SOURCES = defaults.hh diff --git a/util/Makefile.am b/util/Makefile.am index c5fb97a..66376f4 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -1,6 +1,6 @@ # util/Makefile.am for Fluxbox SUBDIRS= fbrun -INCLUDES= -I../src/FbTk/ +INCLUDES= -I$(top_srcdir)/src -I$(top_srcdir)/src/FbTk bin_SCRIPTS= fbsetbg fluxbox-generate_menu startfluxbox bin_PROGRAMS= bsetroot bsetroot_SOURCES= bsetroot.cc bsetroot.hh @@ -16,18 +16,18 @@ all-local: startfluxbox clean-local: rm -f startfluxbox fluxbox-generate_menu -bsetroot.o: bsetroot.cc ../config.h bsetroot.hh \ - ../src/FbRootWindow.hh ../src/FbAtoms.hh +bsetroot.o: bsetroot.cc ../config.h $(srcdir)/bsetroot.hh \ + $(top_srcdir)/src/FbRootWindow.hh $(top_srcdir)/src/FbAtoms.hh startfluxbox: startfluxbox.in @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" \ -e "s,@pkgbindir@,$(bindir),g" \ - startfluxbox.in > startfluxbox + $(srcdir)/startfluxbox.in > startfluxbox -chmod 755 startfluxbox fluxbox-generate_menu: fluxbox-generate_menu.in @regex_cmd@ -e "s,@PREFIX@,$(prefix),g" \ - fluxbox-generate_menu.in \ + $(srcdir)/fluxbox-generate_menu.in \ > fluxbox-generate_menu -chmod 755 fluxbox-generate_menu diff --git a/util/fbrun/Makefile.am b/util/fbrun/Makefile.am index 6f4752a..83b45b0 100644 --- a/util/fbrun/Makefile.am +++ b/util/fbrun/Makefile.am @@ -1,5 +1,5 @@ FLUXBOX_SRC_DIR= ../../src/ -INCLUDES= -I${FLUXBOX_SRC_DIR} -I${FLUXBOX_SRC_DIR}FbTk +INCLUDES= -I$(top_srcdir)/src -I$(top_srcdir)/src/FbTk bin_PROGRAMS= fbrun fbrun_SOURCES= FbRun.hh FbRun.cc main.cc fbrun.xpm fbrun_LDADD= ${FLUXBOX_SRC_DIR}FbTk/libFbTk.a diff --git a/xft.m4 b/xft.m4 index 4a92cb0..7264e97 100644 --- a/xft.m4 +++ b/xft.m4 @@ -20,7 +20,7 @@ # DEALINGS IN THE SOFTWARE. # AM_PATH_XFT1([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -AC_DEFUN(AM_PATH_XFT1, +AC_DEFUN([AM_PATH_XFT1], [ AC_CHECK_LIB(Xft, XftFontOpen, XFT_LIBS="-lXft" @@ -30,7 +30,7 @@ AC_DEFUN(AM_PATH_XFT1, ]) # AM_PATH_XFT2([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -AC_DEFUN(AM_PATH_XFT2, +AC_DEFUN([AM_PATH_XFT2], [ if test x$pkg_exec_prefix != x ; then xft_args="$xft_args --exec-prefix=$pkg_exec_prefix" @@ -59,7 +59,7 @@ fi # AM_PATH_XFT(default-value, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) # Test for Xft, and define XFT_CFLAGS and XFT_LIBS -AC_DEFUN(AM_PATH_XFT, +AC_DEFUN([AM_PATH_XFT], [ AC_ARG_WITH(xft-prefix,[ --with-xft-prefix=path Prefix where Xft is installed (optional)], xft_prefix="$withval", xft_prefix="") -- cgit v0.11.2