From 68547f0be09719e7fdd192f68edbcf9bbbd415d8 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Thu, 16 Apr 2015 17:50:11 -0400 Subject: subdir Makefile fixed to calculate dist_dir before going to include mk files --- subdir_makefile/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subdir_makefile/Makefile b/subdir_makefile/Makefile index 5f47ac8..d630067 100644 --- a/subdir_makefile/Makefile +++ b/subdir_makefile/Makefile @@ -4,6 +4,8 @@ TOPDIR ?= .. include ./local.mk include $(TOPDIR)/common.mk +dest_dir = $(DESTDIR)$(PREFIX)/$(PACKAGE_DIR) + include $(MAKEINCLUDE_DIR)/t2t.mk include $(MAKEINCLUDE_DIR)/pandoc.mk include $(MAKEINCLUDE_DIR)/rem.mk @@ -14,7 +16,6 @@ include $(MAKEINCLUDE_DIR)/raw.mk include $(MAKEINCLUDE_DIR)/subdirs.mk -dest_dir = $(DESTDIR)$(PREFIX)/$(PACKAGE_DIR) .DEFAULT_GOAL := all -- cgit v1.2.3