autobackup

Automatically choose backup location and perform backups using rsync
git clone git://jacobedwards.org/autobackup
Log | Files | Refs | README | LICENSE

Makefile (527B)


      1 prefix = /usr/local
      2 manprefix = ${prefix}/man
      3 bin = ${prefix}/bin
      4 
      5 scripts = autobackup autobackup_send autobackup_recieve autobackup_pick autobackup_log
      6 mans = autobackup.1 autobackup.5
      7 
      8 install:
      9 .for script in ${scripts}
     10 	install -o root -g bin -m 0755 ${script} ${bin}/${script}
     11 .endfor
     12 	install -o root -g bin -m 0444 autobackup.1 ${manprefix}/man1/autobackup.1
     13 	install -o root -g bin -m 0444 autobackup.5 ${manprefix}/man5/autobackup.5
     14 
     15 uninstall:
     16 	cd ${manprefix} && rm -f autobackup.[15]
     17 	cd ${bin} && rm -f ${scripts}