File: Makefile

package info (click to toggle)
debianbuttons 1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 160 kB
  • sloc: makefile: 31; sh: 17
file content (29 lines) | stat: -rw-r--r-- 912 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/make -f
# vim: noet ts=8 ft=makefile

PKG := icedeb

ALL_FILES := README TODO install.rdf chrome.manifest \
    $(shell find res -type f) $(shell find chrome -type f)

all: $(PKG).xpi
$(PKG).xpi: $(ALL_FILES)
	rm -f $@
	zip $@ $^

XCF := res/button-bts.xcf

chrome/content/icedeb-bts.png: $(XCF)
	xcf2png -o "$@" "$<" "base" "bts small" "bts big"
chrome/content/icedeb-buildd.png: $(XCF)
	xcf2png -o "$@" "$<" "base" "buildd small" "buildd big"
chrome/content/icedeb-ddpo.png: $(XCF)
	xcf2png -o "$@" "$<" "base" "DD small" "DD big"
chrome/content/icedeb-deb.png: $(XCF)
	xcf2png -o "$@" "$<" "base" "deb small" "deb big"
chrome/content/icedeb-ml.png: $(XCF)
	xcf2png -o "$@" "$<" "base" "ML small" "ML big"
chrome/content/icedeb-pts.png: $(XCF)
	xcf2png -o "$@" "$<" "base" "pts small" "pts big"
chrome/content/icedeb-security.png: $(XCF)
	xcf2png -o "$@" "$<" "base" "security small" "security big"