@@ -114,14 +114,14 @@ update-website:
114114clean:
115115 stack clean
116116
117−check-cabal: git-test-files.txt sdist-test-files.txt
118− echo "Checking to see if all committed test files are in sdist..."
117+check-cabal: git-files.txt sdist-files.txt
118+ echo "Checking to see if all committed test/data files are in sdist."
119119 diff -u $^
120120
121−sdist-test-files.txt: .FORCE
122− cabal sdist --list-only | sed 's/\.\///' | grep '^test\/' | sort > $@
121+sdist-files.txt: .FORCE
122+ cabal sdist --list-only | sed 's/\.\///' | grep '^\(test\|data\)\/' | sort > $@
123123
124−git-test-files.txt: .FORCE
125− git ls-tree -r --name-only HEAD | grep '^test\/' | sort > $@
124+git-files.txt: .FORCE
125+ git ls-tree -r --name-only HEAD | grep '^\(test\|data\)\/' | sort > $@
126126
127127.PHONY: .FORCE deps quick full haddock install clean test bench changes_github dist prof download_stats reformat lint weigh doc/lua-filters.md pandoc-templates trypandoc update-website debpkg checkdocs ghcid ghci fix_spacing hlint check check-cabal