--- meson.build +++ meson.build @@ -61,7 +61,7 @@ build_args = [ '-Wall', '-Wextra', - '-Ofast', + '-Os', '-std=c99', ] --- Makefile +++ Makefile @@ -1,6 +1,6 @@ .PHONY: build/albafetch -OS := $(shell uname -o 2> /dev/null) +OS := $(shell uname -s 2> /dev/null) INSTALLPATH := /usr/local/bin CONFIGPATH := /etc/xdg @@ -17,7 +17,8 @@ endif ifeq ($(OS),Darwin) INSTALLFLAGS := -m755 CONFIGFLAGS := -m644 - CONFIGPATH := ~/.config/ + INSTALLPATH := @DESTDIR@/bin + CONFIGPATH := @DESTDIR@/etc MACOS_INFOS_H := src/macos_infos.h BSDWRAP_H = src/bsdwrap.h