zfs-backup/Makefile

12 lines
209 B
Makefile

DESTDIR=/usr
prefix := ${DESTDIR}/sbin/
progs := zb-cleanup zb-pull zb-snap
targets := $(foreach prog, $(progs), $(prefix)$(prog) )
$(prefix)zb-% : zb-%
install ${INSTALL_FLAGS} $< $@
install: $(targets)