[PATCH:x11perf] Let autoconf generate x11perfcomp directly instead of doing it via sed

Alan Coopersmith alan.coopersmith at oracle.com
Fri Jul 1 19:53:54 PDT 2011


Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 Makefile.am  |    6 ------
 configure.ac |    1 +
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 5cfedb4..bb381d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -48,12 +48,6 @@ x11perf_SOURCES =	\
         x11perf.h
 
 bin_SCRIPTS = x11perfcomp
-CLEANFILES = $(bin_SCRIPTS)
-EXTRA_DIST = $(bin_SCRIPTS:=.in)
-DIR_SUBSTS = -e 's|@x11perfcompdir[@]|$(x11perfcompdir)|g'
-
-x11perfcomp: x11perfcomp.in
-	$(AM_V_GEN)$(SED) $(DIR_SUBSTS) < $(srcdir)/$@.in > $@
 
 dist_x11perfcomp_SCRIPTS = 	\
 	fillblnk		\
diff --git a/configure.ac b/configure.ac
index d23c209..0e5c297 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,6 +76,7 @@ yes)
 esac
 
 AC_CONFIG_FILES([
+	x11perfcomp
 	Makefile
 	man/Makefile])
 AC_OUTPUT
-- 
1.7.3.2



More information about the xorg-devel mailing list