Files
numix-blue-gtk-theme/Makefile
T

46 lines
861 B
Makefile
Raw Normal View History

2015-08-07 01:37:58 +05:30
SASS=scss
SASSFLAGS=--sourcemap=none
GLIB_COMPILE_RESOURCES=glib-compile-resources
RES_DIR=gtk-3.0
SCSS_DIR=$(RES_DIR)/scss
DIST_DIR=$(RES_DIR)/dist
2015-08-07 02:19:29 +05:30
INSTALL_DIR=$(DESTDIR)/usr/share/themes/Numix
2015-08-07 01:37:58 +05:30
2015-08-07 01:56:02 +05:30
all: clean gresource
2014-10-20 10:23:51 +02:00
2014-10-21 00:21:50 +05:30
css:
2015-08-07 01:37:58 +05:30
$(SASS) --update $(SASSFLAGS) $(SCSS_DIR):$(DIST_DIR)
2014-10-20 10:23:51 +02:00
2015-08-07 01:37:58 +05:30
gresource: css
$(GLIB_COMPILE_RESOURCES) --sourcedir=$(RES_DIR) $(RES_DIR)/gtk.gresource.xml
2015-08-07 01:56:02 +05:30
watch: clean
2015-08-07 01:37:58 +05:30
while true; do \
make gresource; \
inotifywait @gtk.gresource -qr -e modify -e create -e delete $(RES_DIR); \
done
2014-10-20 10:23:51 +02:00
2014-10-21 00:21:50 +05:30
clean:
rm -rf $(DIST_DIR)
2015-08-07 01:37:58 +05:30
rm -f $(RES_DIR)/gtk.gresource
2014-10-21 00:21:50 +05:30
2015-08-07 01:37:58 +05:30
install: all
install -d -m755 $(INSTALL_DIR)
for f in *; do cp -pr $$f $(INSTALL_DIR)/; done
uninstall:
rm -rf $(INSTALL_DIR)
.PHONY: all
2014-10-20 10:23:51 +02:00
.PHONY: css
2015-08-07 01:37:58 +05:30
.PHONY: watch
.PHONY: gresource
.PHONY: clean
.PHONY: install
.PHONY: uninstall
.DEFAULT_GOAL := all
2014-10-20 10:23:51 +02:00
# vim: set ts=4 sw=4 tw=0 noet :