This avoids needed to export every variable that might be used in cgit.mk from the top-level Makefile.
Unified · Split
| @@ -5,6 +5,8 @@ include Makefile · 4 unmodified lines | ||
| 5 | 5 | |
| 6 | 6 | CGIT_PREFIX = ../ |
| 7 | 7 | |
| 8 | +-include $(CGIT_PREFIX)cgit.conf | |
| 9 | + | |
| 8 | 10 | # The CGIT_* variables are inherited when this file is called from the |
| 9 | 11 | # main Makefile - they are defined there. |
| 10 | 12 | |