aboutsummarylogtreecommitdiffstats
path: root/Makefile
blob: fcf2b5ec9a9104c7c486f96224b5a01e494bcd45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
help: 
	@grep -E '(^[a-zA-Z_-]+:.*?##.*$$)|(^##)' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[32m%-10s\033[0m %s\n", $$1, $$2}' | sed -e 's/\[32m##/[33m/'

build:clear ## Build pakage
	makepkg -s

clear: ## Clear files
	rm -rf ./pkg
	rm -rf ./src
	rm -f ./*.zip
	rm -f ./shadow-beta-*.pkg.tar
	rm -f ./shadow-beta-*.pkg.tar.xz
	rm -f ./*~

install:build ## Install package with pacman
	sudo pacman -U shadow-beta-*.pkg.tar

pkgsum: ## update pkgsum with updpkgsums
	updpkgsums

srcinfo: ## génération .SRCINFO
	makepkg --printsrcinfo > .SRCINFO