Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl-cms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finish responsive images, revamp admin_images
[wfpl-cms.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
58a7ae5
..
4610bd4
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-3,22
+3,22
@@
generated_images= $(svgs:.svg=.png)
images=
images += $(generated_images)
images=
images += $(generated_images)
-objects= $(generated_images) .image-mtimes.styl style.css tags
+objects= $(generated_images) .sha1sums.styl css.css tags
all: $(objects)
clean:
rm -f $(objects)
all: $(objects)
clean:
rm -f $(objects)
-style.css: styl.styl .image-mtimes.styl
- compile-stylus $<
+css.css: style.styl .sha1sums.styl
+ compile-stylus $< $@
-.image-mtimes.styl: $(images)
+.sha1sums.styl: $(images)
( \
( \
- echo -n 'mtimes = {'; \
+ echo -n 'sha1 = {'; \
div=' '; \
for x in $^; do \
div=' '; \
for x in $^; do \
- echo -n "$$div '$$x': \"$$x?m=$$(stat -c '%Y' $$x)\""; \
+ echo -n "$$div '$$x': \"$$x?m=$$(sha1sum < $$x | head -c 10)\""; \
div=,; \
done; \
echo " }"; \
div=,; \
done; \
echo " }"; \
@@
-36,5
+36,5
@@
style.css: styl.styl .image-mtimes.styl
; exit 1 \
)
; exit 1 \
)
-tags: *.php code/*.php inc/wfpl/*.php
- exuberant-ctags *.php code/*.php inc/wfpl/*.php
+tags: *.php inc/*.php inc/wfpl/*.php
+ exuberant-ctags *.php inc/*.php inc/wfpl/*.php