iditacards/rules/rsync.mk

5 lines
154 B
Makefile

# Shorthand rule for copying the standard input to the result file
define rsync-copy
cat > $@.raw; rsync --remove-source-files --checksum $@.raw $@
endef