Source

xpenguins-gnome-shell-extension / Makefile

Full commit
#=============================================================================
UUID=xpenguins@mathematical.coffee.gmail.com
FILES=metadata.json *.js stylesheet.css penguin.png themes
#=============================================================================
default_target: all
.PHONY: clean all zip

clean:
	rm -f $(UUID).zip $(UUID)/schemas/gschemas.compiled

# compile the schemas
all:
	@if [ -d $(UUID)/schemas ]; then \
		glib-compile-schemas $(UUID)/schemas; \
	fi

zip: all
	zip -rq $(UUID).zip $(FILES:%=$(UUID)/%)

dev-zip: all
	(cd $(UUID); \
		zip -rq ../$(UUID).zip $(FILES))