projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shortens the contacts\' page header.
[platal.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
7b62aeb
..
0b6b37b
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-26,7
+26,7
@@
endef
all: build
all: build
-build: core banana wiki jquery
+build: core banana wiki
medals
jquery
q:
@echo -e "Code statistics\n"
q:
@echo -e "Code statistics\n"
@@
-114,7
+114,16
@@
htdocs/css/banana.css:
include/banana/banana.inc.php:
cd $(@D) && find $(BANANA)/banana/ -name '*.php' -exec ln -snf {} . ";"
include/banana/banana.inc.php:
cd $(@D) && find $(BANANA)/banana/ -name '*.php' -exec ln -snf {} . ";"
+##
+## Medal thumbnails
+##
+MEDAL_PICTURES=$(wildcard htdocs/images/medals/*.jpg)
+MEDAL_THUMBNAILS=$(subst /medals/,/medals/thumb/,$(MEDAL_PICTURES))
+
+medals: $(MEDAL_THUMBNAILS)
+$(MEDAL_THUMBNAILS): $(subst /medals/thumb/,/medals/,$(@F))
+ convert -resize x50 $(subst /medals/thumb/,/medals/,$@) $@
##
## jquery
##
## jquery