mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-06-01 07:48:20 -04:00
🛠️ Rearrance "make" commands for caching remove
This commit is contained in:
parent
70159cf762
commit
6b09eef2e5
2 changed files with 23 additions and 23 deletions
38
Makefile
38
Makefile
|
@ -1,20 +1,4 @@
|
|||
theme := macOSBigSur
|
||||
src := ./themes/$(theme)
|
||||
|
||||
local := ~/.icons
|
||||
local_dest := $(local)/$(theme)
|
||||
|
||||
root := /usr/share/icons
|
||||
root_dest := $(root)/$(theme)
|
||||
|
||||
all: clean render build
|
||||
|
||||
unix: clean render bitmaps
|
||||
@cd builder && make build_unix
|
||||
|
||||
windows: clean render bitmaps
|
||||
@cd builder && make build_windows
|
||||
|
||||
.PHONY: all
|
||||
|
||||
clean:
|
||||
|
@ -24,12 +8,30 @@ render: bitmapper svg
|
|||
@cd bitmapper && $(MAKE)
|
||||
|
||||
build: bitmaps
|
||||
@cd builder && $(MAKE)
|
||||
@cd builder && make build && make clean
|
||||
|
||||
|
||||
unix: clean render bitmaps
|
||||
@cd builder && make build_unix && make clean
|
||||
|
||||
windows: clean render bitmaps
|
||||
@cd builder && make build_windows && make clean
|
||||
|
||||
|
||||
|
||||
# Installation
|
||||
theme := macOSBigSur
|
||||
src := ./themes/$(theme)
|
||||
|
||||
local := ~/.icons
|
||||
local_dest := $(local)/$(theme)
|
||||
|
||||
root := /usr/share/icons
|
||||
root_dest := $(root)/$(theme)
|
||||
|
||||
.ONESHELL:
|
||||
SHELL:=/bin/bash
|
||||
|
||||
|
||||
install: $(src)
|
||||
@if [[ $EUID -ne 0 ]]; then
|
||||
@echo "> Installing '$(theme)' cursors inside $(local)/..."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue