Skip to content
Snippets Groups Projects
Commit ccd06090 authored by Ashley Yakeley's avatar Ashley Yakeley
Browse files

test sdist

parent 80a554c3
No related branches found
No related tags found
No related merge requests found
...@@ -7,3 +7,4 @@ dist-install ...@@ -7,3 +7,4 @@ dist-install
ghc.mk ghc.mk
lib/include/HsTimeConfig.h lib/include/HsTimeConfig.h
lib/include/HsTimeConfig.h.in lib/include/HsTimeConfig.h.in
test-sdist
default: clean test install sdist default: clean test install test-sdist
# Building # Building
clean: clean:
rm -rf test-sdist
cabal clean cabal clean
configure: configure:
...@@ -26,7 +27,13 @@ install: ...@@ -26,7 +27,13 @@ install:
sdist: clean configure sdist: clean configure
cabal sdist cabal sdist
test-sdist: sdist
mkdir -p test-sdist
tar -C test-sdist -z -x -f dist/time-1.5.1.tar.gz
cp Makefile test-sdist/time-1.5.1/
cd test-sdist/time-1.5.1 && make test
# switch off intermediate file deletion # switch off intermediate file deletion
.SECONDARY: .SECONDARY:
.PHONY: default clean configure build haddock copy install test sdist .PHONY: default clean configure build haddock copy install test sdist test-sdist
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment