summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am12
2 files changed, 12 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index ec3700d..9bc3aa2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,3 +32,4 @@ run*
stamp-h1
test-*
!config/config.h.in
+/packaging
diff --git a/Makefile.am b/Makefile.am
index b21549a..fc7bc2e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,7 +13,7 @@ maintainer-clean-local:
-find ${builddir} -name Makefile.in -exec rm -f '{}' ';'
distclean-local:
- rm -fr tests/run-test-suite
+ rm -fr tests/run-test-suite packaging
-git worktree prune
.PHONY: bootstrap
@@ -34,3 +34,13 @@ tests/run-test-suite:
-git branch --track run-test-suite origin/run-test-suite
-git worktree prune
git worktree add $@ run-test-suite
+
+packaging:
+ git branch --track $@ origin/$@
+ git worktree add --force $@ $@
+
+docker-dist: packaging
+ make -C $</docker libyaml-dist
+
+docker-test-pyyaml: packaging
+ make -C $</docker test-pyyaml