diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2015-04-16 17:50:11 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2015-04-16 17:50:11 -0400 |
commit | 68547f0be09719e7fdd192f68edbcf9bbbd415d8 (patch) | |
tree | 969308ada0d09ab10bc6af76061de605b4f8f187 /subdir_makefile | |
parent | c09a8c12200c610321e472ad799e887f074c9b19 (diff) | |
download | makefile_templates-68547f0be09719e7fdd192f68edbcf9bbbd415d8.tar.gz makefile_templates-68547f0be09719e7fdd192f68edbcf9bbbd415d8.zip |
subdir Makefile fixed to calculate dist_dir before going to include mk files
Diffstat (limited to 'subdir_makefile')
-rw-r--r-- | subdir_makefile/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 |