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