Skip to content

Instantly share code, notes, and snippets.

@alloy-d
Created June 28, 2010 06:35
Show Gist options
  • Save alloy-d/455512 to your computer and use it in GitHub Desktop.
Save alloy-d/455512 to your computer and use it in GitHub Desktop.
# Makefile for Tumblr themes.
# I am not even kidding.
THEME=nox
all: $(THEME).tumblr.html
$(THEME).css: $(THEME).sass
sass $(THEME).sass > $(THEME).css
# In $(THEME).tumblr.html.m4:
# <style>
# include(`nox.css')
# </style>
$(THEME).tumblr.html: $(THEME).css $(THEME).tumblr.html.m4
m4 $(THEME).tumblr.html.m4 > $(THEME).tumblr.html
clean:
rm -f $(THEME).css
rm -f $(THEME).tumblr.html
clip: $(THEME).tumblr.html
xclip < $(THEME).tumblr.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment