1
# ----------------------------------------------------------------------
2
# Copyright (c) 1999, 2004-2009 NOVELL (All rights reserved)
3
# Copyright (c) 2010-2014 Canonical Ltd.
5
# This program is free software; you can redistribute it and/or
6
# modify it under the terms of version 2 of the GNU General Public
7
# License published by the Free Software Foundation.
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
# GNU General Public License for more details.
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, contact Novell, Inc.
16
# ----------------------------------------------------------------------
19
COMMONDIR=../../common/
21
include common/Make.rules
23
COMMONDIR_EXISTS=$(strip $(shell [ -d ${COMMONDIR} ] && echo true))
24
ifeq ($(COMMONDIR_EXISTS), true)
25
common/Make.rules: $(COMMONDIR)/Make.rules
34
rm -rf __pycache__/ common
41
export PYTHONPATH=.. ; $(foreach test, $(wildcard test-*.py), $(call pyalldo, $(test)))