From 6549136606ba6ec2cfe91efaa00a018ce2f586d2 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Thu, 16 Apr 2015 23:21:21 -0400 Subject: raw and tex files properly use for dest_dirs.mk capabilities --- raw.mk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'raw.mk') diff --git a/raw.mk b/raw.mk index 7ed5761..d3688c3 100644 --- a/raw.mk +++ b/raw.mk @@ -4,18 +4,18 @@ CLEAN_TARGETS += clean_raw REAL_CLEAN_TARGETS += real_clean_raw -raw_dest_targets = $(raw_files:%=$(dest_dir)/%) +dest_dir_raw ?= $(dest_dir) +destination_dirs += $(dest_dir_raw) + +raw_dest_targets = $(raw_files:%=$(dest_dir_raw)/%) clean_raw: real_clean_raw: -dest_dir_raw: - $(INSTALL) -d -m 0755 $(dest_dir) - -install_raw: dest_dir_raw $(raw_dest_targets) +install_raw: $(raw_dest_targets) -$(raw_dest_targets): $(dest_dir)/% : % +$(raw_dest_targets): $(dest_dir_raw)/% : % | $(dest_dir_raw) ifneq ($(strip $(raw_files)),) $(INSTALL) -m 0644 '$<' '$@' endif -- cgit v1.2.3