From 8f79fd8faa1e0f632a4db9d188606b102b459c45 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Fri, 29 Jan 2021 19:47:41 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Unix=20&=20Windows=20recursive?= =?UTF-8?q?=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 7 +++++++ builder/Makefile | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3fea5b6..8dd2aa7 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,12 @@ root_dest := $(root)/$(theme) all: clean render build +unix: clean render pngs + @cd builder && make build_unix + +windows: clean render pngs + @cd builder && make build_windows + .PHONY: all clean: @@ -23,6 +29,7 @@ build: pngs .ONESHELL: SHELL:=/bin/bash + install: themes/macOSBigSur @echo "> Installing '$(theme)' cursors..." @if [[ $EUID -ne 0 ]]; then diff --git a/builder/Makefile b/builder/Makefile index 12877d2..a181b41 100644 --- a/builder/Makefile +++ b/builder/Makefile @@ -21,4 +21,10 @@ setup: setup.py @. venv/bin/activate; python3 setup.py install --record files.txt build: setup build.py - @. venv/bin/activate; python3 build.py \ No newline at end of file + @. venv/bin/activate; python3 build.py + +build_unix: setup build.py + @. venv/bin/activate; python3 build.py unix + +build_windows: setup build.py + @. venv/bin/activate; python3 build.py windows \ No newline at end of file