# -*- make -*- # (C) 2013 by Eugeniy Mikhailov, CLEAN_TARGETS += clean_raw REAL_CLEAN_TARGETS += real_clean_raw dest_dir_raw ?= $(dest_dir) destination_dirs += $(dest_dir_raw) raw_dest_targets = $(raw_files:%=$(dest_dir_raw)/%) clean_raw: real_clean_raw: install_raw: $(raw_dest_targets) $(raw_dest_targets): $(dest_dir_raw)/% : % | $(dest_dir_raw) ifneq ($(strip $(raw_files)),) $(INSTALL) -D -m 0644 '$<' '$@' endif