Skip to content
Snippets Groups Projects
Commit b6f2e47f authored by Iustin Pop's avatar Iustin Pop
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,13 @@ ganeti: ...@@ -10,6 +10,13 @@ ganeti:
pre-check: ganeti pre-check: ganeti
$(MAKE) -C lib $@ $(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 # custom rules
depgraph: depgraph.png depgraph: depgraph.png
......
Version 1.2.1 Version 1.2.1
- experimental HWM support, read the install document, section - experimental HVM support, read the install document, section
"Initializing the cluster" "Initializing the cluster"
- allow for the PVM hypervisor per-instance kernel and initrd paths - allow for the PVM hypervisor per-instance kernel and initrd paths
- add a new command ‘gnt-cluster verify-disks’ which uses a new - add a new command ‘gnt-cluster verify-disks’ which uses a new
......
...@@ -11,5 +11,5 @@ check-am: do-pre-check ...@@ -11,5 +11,5 @@ check-am: do-pre-check
do-pre-check: do-pre-check:
$(MAKE) -C $(top_builddir) 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] CLEANFILES = *.py[co]
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