Commit b6f2e47f authored by Iustin Pop's avatar Iustin Pop

Fix the make dist rule

In revision 459 I added a bug in the make dist rule in the sense that
the archive will include *all* of test/data directory, including the
.svn directory if it exists.

This patch fixes that problem and adds a distcheck hook that tests for
such errors in the future (files/directories matching the .svn and .git
patterns).

It also fixes a typo in the NEWS file.

Reviewed-by: imsnah
parent 31b9055c
......@@ -10,6 +10,13 @@ ganeti:
pre-check: ganeti
$(MAKE) -C lib $@
# a dist hook rule for catching revision control directories
distcheck-hook:
if find $(top_distdir) | grep -F -e '.svn' -e '.git'; then \
echo "Found revision control files in final archive" 1>&2 ; \
exit 1; \
fi
# custom rules
depgraph: depgraph.png
......
Version 1.2.1
- experimental HWM support, read the install document, section
- experimental HVM support, read the install document, section
"Initializing the cluster"
- allow for the PVM hypervisor per-instance kernel and initrd paths
- add a new command ‘gnt-cluster verify-disks’ which uses a new
......
......@@ -11,5 +11,5 @@ check-am: do-pre-check
do-pre-check:
$(MAKE) -C $(top_builddir) pre-check
EXTRA_DIST = $(TESTS) mocks.py data
EXTRA_DIST = $(TESTS) mocks.py $(wildcard data/*.txt)
CLEANFILES = *.py[co]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment