X-Git-Url: https://git.ktnx.net/?p=icedeb.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=da40095aa5c27e71c97b0fdca0f1fa61a6f996d5;hp=61187feff6fcd5e0e0ddf7e0e652b144b7b2effd;hb=a616d47af8df39cffe632272af83772d904d5cbf;hpb=11c055c006bdb91316309563251d91981439cf33 diff --git a/Makefile b/Makefile index 61187fe..da40095 100644 --- a/Makefile +++ b/Makefile @@ -1,29 +1,15 @@ #!/usr/bin/make -f -# vim: noet ts=8 ft=makefile +# vim: noet sts=8 sw=8 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_FILES := README TODO manifest.json icedeb.js icedeb.css icedeb.html icedeb-content.js \ + $(shell find res -type f) icons/openlogo-nd.svg icons/icedeb-addon.png 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" +icons/icedeb-addon.png: res/icon.xcf + xcf2png -o "$@" $< -f -T