From 1bf3e709c6da1913aade4530d93d42689af19b37 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Fri, 18 Feb 2011 07:41:26 +0000 Subject: [PATCH] don't add generated files in the distribution ! you were lucky, you broke distribution but the autotools automatically add the files AUTHORS README and COPIYNG SVN revision: 57145 --- legacy/ethumb/Makefile.am | 7 ++----- legacy/ethumb/configure.ac | 4 +++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/legacy/ethumb/Makefile.am b/legacy/ethumb/Makefile.am index cea71e3b90..13de4cf6ea 100644 --- a/legacy/ethumb/Makefile.am +++ b/legacy/ethumb/Makefile.am @@ -11,11 +11,8 @@ MAINTAINERCLEANFILES = \ ltmain.sh \ missing -EXTRA_DIST = m4/Makefile.in \ - ethumb.spec - README \ - AUTHORS \ - COPYING +EXTRA_DIST = \ +autogen.sh pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = ethumb.pc diff --git a/legacy/ethumb/configure.ac b/legacy/ethumb/configure.ac index 588e68f2ef..ff6cfc56a1 100644 --- a/legacy/ethumb/configure.ac +++ b/legacy/ethumb/configure.ac @@ -199,7 +199,7 @@ AC_SUBST(requirement_ethumb) AC_SUBST(requirement_ethumb_client) AC_SUBST(dbusservicedir) -AC_OUTPUT([ +AC_CONFIG_FILES([ ethumb.pc ethumb.spec ethumb_client.pc @@ -219,6 +219,8 @@ m4/Makefile doc/Makefile ]) +AC_OUTPUT + txt_strip() { echo "[$]@" | sed -e 's/^[[ \t]]*\([[^ \t]]*\)[[ \t]]*$/\1/g' }