aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-05-23 13:10:58 +0300
committerLoïc Hoguin <[email protected]>2015-05-23 13:10:58 +0300
commit5c110f85e1cfcf3bbbf03128341292b2b7db464b (patch)
treebe4ae6b718abe659f468cc5525babf0c547c40d7 /Makefile
parent074dc2bcc0dde7639dcff2b4621ff40e988118d4 (diff)
downloaderlang.mk-5c110f85e1cfcf3bbbf03128341292b2b7db464b.tar.gz
erlang.mk-5c110f85e1cfcf3bbbf03128341292b2b7db464b.tar.bz2
erlang.mk-5c110f85e1cfcf3bbbf03128341292b2b7db464b.zip
Add a way to test that individual packages build correctly
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2941f08..543eafa 100644
--- a/Makefile
+++ b/Makefile
@@ -28,5 +28,10 @@ pkg:
cat packages.v2.tsv | awk 'BEGIN { FS = "\t" }; { print $$1 "\t" $$3 "\t" $$5 "\t" $$6 }' > packages.v1.tsv
cp packages.v1.tsv packages.v1.txt
+ifeq ($(p),)
check:
$(MAKE) -C test
+else
+check:
+ $(MAKE) -C test pkg-$(p)
+endif