| |
@@ -46,7 +46,7 @@
|
| |
-rm -rf $(BUILDDIR)/*
|
| |
|
| |
$(ERDFILE): ../frontend/coprs_frontend/coprs/models.py
|
| |
- export PYTHONPATH=`pwd`/../frontend/coprs_frontend/; \
|
| |
+ export PYTHONPATH=`pwd`/../frontend/coprs_frontend/:`pwd`/../common ; \
|
| |
export COPR_CONFIG=`pwd`/../frontend/coprs_frontend/config/copr_unit_test.conf; \
|
| |
python3 -c "from eralchemy import render_er; from coprs import db; \
|
| |
render_er(db.metadata, '$@')"
|
| |
Put common subdir into PYTHONPATH to fix er diagram build, for the
situations when python3-copr-common isn't installed, or is too old.
Don't reference the er diagram from inappropriate place.