Correct version number for next release
[debian-kernel-talk.git] / Makefile
1 all: s5-checksums.txt
2
3 clean:
4         rm -rf s5-checksums.txt s5-blank *.dia.svg *.xcf.png
5
6 s5-checksums.txt: /usr/share/s5/s5-blank
7         s5 blank .
8         sed -i 's/url(bodybg.gif)//; s/\btext-transform: capitalize\s*;//' \
9                 s5-blank/ui/default/pretty.css
10
11 %.dia.svg: %.dia
12         dia --export=$@ $<
13
14 %.xcf.png: %.xcf
15         gimp -i -d -b '                                                 '\
16 '(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE "$<" "$<")))     '\
17 '       (layer (car (gimp-image-flatten image))))                       '\
18 ' (gimp-file-save RUN-NONINTERACTIVE image layer "$@" "$@"))            '\
19 '(gimp-quit 0)'
20
21 pub:
22         rm -rf pub
23         mkdir pub
24         cp -R -t pub index.html s5-blank $(wildcard *.svg *.png)
25
26 .PHONY: all clean pub