diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2015-04-16 23:21:21 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2015-04-16 23:21:21 -0400 |
commit | 6549136606ba6ec2cfe91efaa00a018ce2f586d2 (patch) | |
tree | 84f8a2903c1ee9d6b435caf293f8500ccc18f05c /raw.mk | |
parent | 04446741647dce023766af5cdfe0ac6bdb563e0c (diff) | |
download | makefile_templates-6549136606ba6ec2cfe91efaa00a018ce2f586d2.tar.gz makefile_templates-6549136606ba6ec2cfe91efaa00a018ce2f586d2.zip |
raw and tex files properly use for dest_dirs.mk capabilities
Diffstat (limited to 'raw.mk')
-rw-r--r-- | raw.mk | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |