blob: b65a8998766dc6a27008f36d6504c2e080887e94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
.PHONY: all
all:
.PHONY: build
## build: Build package
build:
@echo "Building..."
@makepkg --syncdeps --rmdeps
.PHONY: install
## install: Install package
install:
@echo "Installing..."
@makepkg --syncdeps --install --rmdeps
.PHONY: sum
## sum: Generate sums
sum:
@makepkg --geninteg
.PHONY: srcinfo
## srcinfo: Update the .SRCINFO file
srcinfo:
@echo "Updating srcinfo..."
@makepkg --printsrcinfo >| .SRCINFO
.PHONY: clean
## clean: Clean up build artifacts
clean:
@echo "Cleaning..."
@rm -rf devc-* pkg/ src/
.PHONY: help
## help: Prints this help message
help:
@echo -e "Usage: \n"
@sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' | sed -e 's/^/ /'
|