From 29e592f91ccc52e6a06a35500246de517f312be6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 9 Feb 2024 00:32:53 +0100 Subject: Nothing major, except DEVCHECK doesn't take forever anymore (it's indistiguousable for instant) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0b7faea..32c20a0 100644 --- a/Makefile +++ b/Makefile @@ -7,10 +7,11 @@ include $(CONFIGFILE) all: -generated.mk: $(CONFIGFILE) icons.mk Makefile +generated.mk: $(CONFIGFILE) icons.mk Makefile check-icon-listing $(DEVCHECK) check/find-errors $(DEVCHECK) check/find-unlisted-icons - $(DEVCHECK) check/check-icons-listing + $(DEVCHECK) check/find-duplicates + $(DEVCHECK) ./check-icon-listing @test ! -e $@ || chmod -- u+w $@ printf '\043 %s\n' 'This file is generated from Makefile' > $@ printf '\n%1i$$(DIR_SUFFIX)/%%.png: scalable$$(DIR_SUFFIX)/%%.svg conv\n\t./conv $$@\n' $(SIZES) |\ @@ -26,8 +27,12 @@ generated.mk: $(CONFIGFILE) icons.mk Makefile printf '\n' >> $@ @chmod -- a-w $@ +check-icon-listing: check/check-icon-listing.c + $(CC) -o $@ $< $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) + clean: -rm -rf -- index.theme *.o *.su conv generated.mk scalable-"$(DIR_SUFFIX_)" + -rm -f -- check-icon-listing -for s in $(SIZES); do printf "$${s}x$${s}$(DIR_SUFFIX)\n"; done | xargs rm -rf -- # These are just added so autocompletion works with them -- cgit v1.2.3-70-g09d2