[beast: 3/20] BUILD: Makefile.decl: remove unused distfile-list rule



commit 07fc28e3f758a119aedf6f97573d50e8874f8ed7
Author: Tim Janik <timj gnu org>
Date:   Sun Jun 18 17:15:09 2017 +0200

    BUILD: Makefile.decl: remove unused distfile-list rule
    
    Signed-off-by: Tim Janik <timj gnu org>

 Makefile.decl               |   22 ----------------------
 tests/filecheck/Makefile.am |    5 ++---
 2 files changed, 2 insertions(+), 25 deletions(-)
---
diff --git a/Makefile.decl b/Makefile.decl
index 95f1614..8434419 100644
--- a/Makefile.decl
+++ b/Makefile.decl
@@ -47,28 +47,6 @@ extra-gitdist:
        done
 .PHONY: extra-gitdist
 
-# === distfile-list ===
-# recursive rule supported by all Makefiles to generate a list of all files
-# listed as DISTFILES. this asserts a writable file named $DISTFILE_LIST.
-.PHONY: distfile-list
-distfile-list:
-       $(AM_V_GEN)
-       $(Q) test -w "$(DISTFILE_LIST)" || \
-         { echo '$$(DISTFILE_LIST): failed to write' >/dev/stderr ; false ; }
-       @for subdir in $(SUBDIRS) ; do                          \
-         test "$$subdir" = '.' ||                              \
-           $(MAKE) -C "$$subdir" $(AM_MAKEFLAGS) $@ ||         \
-           exit 1 ;                                            \
-       done
-       $(Q) for file in $(DISTFILES) ; do                      \
-         if [[ "$$file" = /* ]] && test -e "$$file" ; then     \
-           echo "$$file" >> $(DISTFILE_LIST) ;                 \
-         elif test -e "$(abs_builddir)/$$file" ; then          \
-           echo "$(abs_builddir)/$$file" >> $(DISTFILE_LIST) ; \
-         elif test -e "$(abs_srcdir)/$$file" ; then            \
-           echo "$(abs_srcdir)/$$file" >> $(DISTFILE_LIST) ;   \
-         fi ; done ; true
-
 # === check: check-before / check-after ===
 .PHONY: check-before check-after check-devel
 check-am: check-before
diff --git a/tests/filecheck/Makefile.am b/tests/filecheck/Makefile.am
index c9fa612..6e865a0 100644
--- a/tests/filecheck/Makefile.am
+++ b/tests/filecheck/Makefile.am
@@ -12,9 +12,8 @@ SFIDL_INC = --nostdinc -I$(top_srcdir) -I$(top_builddir)
 # == BSE file check ==
 # This test checks that all .bse files contained in the beast tarball
 # will load without any warnings or errors being issued. This is done
-# by first constructing the tarball file list via the distfile-list
-# rule and then filtering out bse files and finally trying to load
-# these without warnings.
+# by first constructing the tarball file list via git ls-tree and then
+# filtering out bse files and finally trying to load these without warnings.
 bsefiles.list: $(GITSTAMPS)
        $(AM_V_GEN)
        $(Q) git ls-tree --name-only --full-tree -r HEAD > $@.tmp1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]