From d6183a95e78a71c9255a6a596eaed5a083af4185 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Thu, 19 Jan 2006 23:52:26 +0000 Subject: [PATCH] Remove the debian subdirectory from the distribution target at the request of the debian maintainer. svn path=/trunk/vorbis/; revision=10742 --- Makefile.am | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4282e26..506178d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,10 +10,6 @@ m4data_DATA = vorbis.m4 pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = vorbis.pc vorbisenc.pc vorbisfile.pc -# we include the whole debian/ dir in EXTRA_DIST because there's a problem -# with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am -# to pick up on the lowercase changelog file and add ChangeLog to DIST_COMMON -# because of it, breaking make dist. This works just as well. EXTRA_DIST = \ todo.txt autogen.sh \ libvorbis.spec libvorbis.spec.in \ @@ -22,17 +18,19 @@ EXTRA_DIST = \ vorbis-uninstalled.pc.in \ vorbisenc-uninstalled.pc.in \ vorbisfile-uninstalled.pc.in \ - debian macos macosx win32 + macos macosx win32 DISTCHECK_CONFIGURE_FLAGS = --enable-docs dist-hook: - rm -rf `find $(distdir)/debian -name .svn` - rm -rf `find $(distdir)/debian -name "Makefile*"` - rm -rf `find $(distdir)/macos -name .svn` - rm -rf `find $(distdir)/macosx -name .svn` - rm -rf `find $(distdir)/win32 -name .svn` + for item in $(EXTRA_DIST); do \ + if test -d $$item; then \ + echo -n "cleaning $$item dir for distribution..."; \ + rm -rf `find $(distdir)/$$item -name .svn`; \ + echo "OK"; \ + fi; \ + done debug: $(MAKE) all CFLAGS="@DEBUG@" -- 2.7.4