Revision 4febe836

b/lib/Makefile.am
5 5
	objects.py errors.py logger.py ssh.py utils.py rpc.py \
6 6
	bdev.py hypervisor.py opcodes.py mcpu.py constants.py \
7 7
	ssconf.py locking.py luxi.py jqueue.py serializer.py
8
python_files = $(pkgpython_PYTHON)
8 9

  
9 10
all-local: _autoconf.py
10 11

  
......
28 29
	  echo "IALLOCATOR_SEARCH_PATH = [$(IALLOCATOR_SEARCH_PATH)]"; \
29 30
	} > $@
30 31

  
31
pre-check: all
32
	for i in $(pkgpython_PYTHON); do \
33
		if test ! -f $$i; then $(LN_S) $(srcdir)/$$i $$i; fi; \
34
	done
32
include $(srcdir)/Makefile.libcommon
b/lib/Makefile.libcommon
1
# We need to create symlinks because "make distcheck" will not install Python
2
# files for building.
3
pre-check: all
4
	for i in $(python_files); do \
5
		if test ! -f $$i; then \
6
			$(LN_S) $(srcdir)/$$i $$i; \
7
		fi; \
8
	done

Also available in: Unified diff