diff options
author | Mattias Andrée <maandree@kth.se> | 2024-02-09 00:32:53 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-02-09 00:32:53 +0100 |
commit | 29e592f91ccc52e6a06a35500246de517f312be6 (patch) | |
tree | 85f403a112d059b685eae28142a519231a00ba89 /Makefile | |
parent | Big update (diff) | |
download | simple-icon-theme-29e592f91ccc52e6a06a35500246de517f312be6.tar.gz simple-icon-theme-29e592f91ccc52e6a06a35500246de517f312be6.tar.bz2 simple-icon-theme-29e592f91ccc52e6a06a35500246de517f312be6.tar.xz |
Nothing major, except DEVCHECK doesn't take forever anymore (it's indistiguousable for instant)
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |