commit: 1e5642adbb35dd225e1d9acb497d56fd6c51ff5f
parent: 6a06735ed8263107c224bf52397b217e5e9130f3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 11 May 2020 03:10:17 +0200
Do not rebuild icons by default
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -37,7 +37,9 @@ CDEPS = -DDATADIR=\"$(DATADIR)\" -DPACKAGE=\"$(PACKAGE)\" -D_POSIX_C_SOURCE=2008
CDEPS += `$(PKGCONFIG) --cflags $(DEPS)`
LIBS = `$(PKGCONFIG) --libs $(DEPS)`
-all: $(EXE) $(ICON_SIZES) $(TRANS) po/messages.pot
+all: $(EXE) $(TRANS) po/messages.pot
+
+icons: $(ICON_SIZES)
icons/hicolor/scalable/apps/badwolf.svg: badwolf.svg
mkdir -p icons/hicolor/scalable/apps
@@ -45,7 +47,7 @@ icons/hicolor/scalable/apps/badwolf.svg: badwolf.svg
icons/hicolor/%/apps/badwolf.png: icons/hicolor/scalable/apps/badwolf.svg
mkdir -p `dirname $@`
- $(INKSCAPE) `echo $@ | cut -d/ -f3 | ./icons_size.sh` $< -o $@ && :
+ $(INKSCAPE) `echo $@ | cut -d/ -f3 | ./icons_size.sh` $< -o $@
po/messages.pot: $(SRCS)
xgettext --keyword=_ --language=C --from-code=UTF-8 -o $@ --add-comments --sort-output --copyright-holder="Badwolf Authors <https://hacktivis.me/projects/badwolf>" --package-name="$(PACKAGE)" --package-version="$(VERSION_FULL)" --msgid-bugs-address="contact+badwolf-msgid@hacktivis.me" $(SRCS)