From b5a88cdfeb94ee2985f251ef1c7a5f4e8349501f Mon Sep 17 00:00:00 2001 From: Toni500git Date: Wed, 26 Jun 2024 14:22:52 +0200 Subject: [PATCH] makefile: some modifies --- Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 1787213a..4b133162 100644 --- a/Makefile +++ b/Makefile @@ -66,17 +66,13 @@ clean: rm -rf $(BUILDDIR)/$(TARGET) $(OBJ) distclean: - rm -rf $(BUILDDIR) ./tests/$(BUILDDIR) $(OBJ) cpr/build - find . -type f -name "*.tar.zst" -exec rm -rf "{}" \; + rm -rf $(BUILDDIR) ./tests/$(BUILDDIR) $(OBJ) + find . -type f -name "*.tar.gz" -exec rm -rf "{}" \; find . -type f -name "*.o" -exec rm -rf "{}" \; find . -type f -name "*.a" -exec rm -rf "{}" \; - #make -C tests/ clean install: $(TARGET) locale install $(BUILDDIR)/$(TARGET) -Dm 755 -v $(DESTDIR)$(PREFIX)/bin/$(TARGET) - find locale -type f -exec install -Dm 755 "{}" "$(DESTDIR)$(PREFIX)/share/{}" \; + cd assets/ && find ascii/ -type f -exec install -Dm 755 "{}" "$(DESTDIR)$(PREFIX)/share/customfetch/{}" \; -test: - make -C tests - -.PHONY: $(TARGET) clean fmt toml locale install all +.PHONY: $(TARGET) dist distclean fmt toml install all