# vim: shiftwidth=4 tabstop=4 noexpandtab .PHONY: all clean install uninstall SOFTWARE_NAME="xbackup" all: tar --exclude-vcs --exclude ${SOFTWARE_NAME}/archlinux -czvf ${SOFTWARE_NAME}.tar.gz ../../${SOFTWARE_NAME} makepkg -cf clean: rm -rf $(SOFTWARE_NAME).tar.gz rm -rf $(SOFTWARE_NAME)*.pkg.tar.* install: all sudo pacman -U $(SOFTWARE_NAME)*.pkg.tar.* uninstall: sudo pacman -R $(SOFTWARE_NAME)