From 159527a972b0a929aeda3dcbd71c71f1367189de Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 14 Nov 2010 21:55:29 +0000 Subject: Use .SILENT in makefile --- Makefile | 77 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 39 insertions(+), 38 deletions(-) diff --git a/Makefile b/Makefile index 3c21132..9265680 100644 --- a/Makefile +++ b/Makefile @@ -2,50 +2,51 @@ NAME = simplyread VERSION = 0.3 index.html: doap.ttl README webheader.html - @echo making webpage - @cat < webheader.html > $@ - @smu < README >> $@ - @echo '

Download SimplyRead $(VERSION)
' >> $@ - @echo 'GPG signature

' >> $@ - @echo '

SimplyRead $(VERSION) for Firefox
' >> $@ - @echo 'GPG signature

' >> $@ - @echo '

SimplyRead $(VERSION) for Chromium
' >> $@ - @echo 'GPG signature

' >> $@ - @echo '
' >> $@ - @sh websummary.sh doap.ttl | smu >> $@ - @echo '' >> $@ + echo making webpage + cat < webheader.html > $@ + smu < README >> $@ + echo '

Download SimplyRead $(VERSION)
' >> $@ + echo 'GPG signature

' >> $@ + echo '

SimplyRead $(VERSION) for Firefox
' >> $@ + echo 'GPG signature

' >> $@ + echo '

SimplyRead $(VERSION) for Chromium
' >> $@ + echo 'GPG signature

' >> $@ + echo '
' >> $@ + sh websummary.sh doap.ttl | smu >> $@ + echo '' >> $@ dist: - @mkdir -p $(NAME)-$(VERSION) - @cp simplyread.js COPYING INSTALL README $(NAME)-$(VERSION) - @tar -c $(NAME)-$(VERSION) | bzip2 -c > $(NAME)-$(VERSION).tar.bz2 - @gpg -b < $(NAME)-$(VERSION).tar.bz2 > $(NAME)-$(VERSION).tar.bz2.sig - @rm -rf $(NAME)-$(VERSION) - @echo $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION).tar.bz2.sig + mkdir -p $(NAME)-$(VERSION) + cp simplyread.js COPYING INSTALL README $(NAME)-$(VERSION) + tar -c $(NAME)-$(VERSION) | bzip2 -c > $(NAME)-$(VERSION).tar.bz2 + gpg -b < $(NAME)-$(VERSION).tar.bz2 > $(NAME)-$(VERSION).tar.bz2.sig + rm -rf $(NAME)-$(VERSION) + echo $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION).tar.bz2.sig xpi: simplyread.js gecko/install.rdf gecko/chrome.manifest gecko/chrome/content/simplyread.xul gecko/chrome/content/icon.svg - @rm -rf $(NAME)-$(VERSION).xpi gecko-build - @mkdir -p gecko-build/chrome/content - @cp COPYING gecko/chrome.manifest gecko-build/ - @cp gecko/chrome/content/simplyread.xul gecko-build/chrome/content/ - @cp simplyread.js gecko-build/chrome/content/simplyread.js - @rsvg gecko/chrome/content/icon.svg gecko-build/chrome/content/icon.png - @sed "s/VERSION/$(VERSION)/g" < gecko/install.rdf > gecko-build/install.rdf - @cd gecko-build; zip -r ../$(NAME)-$(VERSION).xpi . 1>/dev/null - @gpg -b < $(NAME)-$(VERSION).xpi > $(NAME)-$(VERSION).xpi.sig - @rm -rf gecko-build - @echo $(NAME)-$(VERSION).xpi $(NAME)-$(VERSION).xpi.sig + rm -rf $(NAME)-$(VERSION).xpi gecko-build + mkdir -p gecko-build/chrome/content + cp COPYING gecko/chrome.manifest gecko-build/ + cp gecko/chrome/content/simplyread.xul gecko-build/chrome/content/ + cp simplyread.js gecko-build/chrome/content/simplyread.js + rsvg gecko/chrome/content/icon.svg gecko-build/chrome/content/icon.png + sed "s/VERSION/$(VERSION)/g" < gecko/install.rdf > gecko-build/install.rdf + cd gecko-build; zip -r ../$(NAME)-$(VERSION).xpi . 1>/dev/null + gpg -b < $(NAME)-$(VERSION).xpi > $(NAME)-$(VERSION).xpi.sig + rm -rf gecko-build + echo $(NAME)-$(VERSION).xpi $(NAME)-$(VERSION).xpi.sig crx: simplyread.js chromium/icon.svg chromium/manifest.json chromium/background.html - @rm -rf chromium-build - @mkdir chromium-build - @cp COPYING simplyread.js chromium/background.html chromium-build/ - @rsvg chromium/icon.svg chromium-build/icon.png - @sed "s/VERSION/$(VERSION)/g" < chromium/manifest.json > chromium-build/manifest.json - @sh chromium/makecrx.sh chromium-build chromium/private.pem > $(NAME)-$(VERSION).crx - @rm -r chromium-build - @gpg -b < $(NAME)-$(VERSION).crx > $(NAME)-$(VERSION).crx.sig - @echo $(NAME)-$(VERSION).crx $(NAME)-$(VERSION).crx.sig + rm -rf chromium-build + mkdir chromium-build + cp COPYING simplyread.js chromium/background.html chromium-build/ + rsvg chromium/icon.svg chromium-build/icon.png + sed "s/VERSION/$(VERSION)/g" < chromium/manifest.json > chromium-build/manifest.json + sh chromium/makecrx.sh chromium-build chromium/private.pem > $(NAME)-$(VERSION).crx + rm -r chromium-build + gpg -b < $(NAME)-$(VERSION).crx > $(NAME)-$(VERSION).crx.sig + echo $(NAME)-$(VERSION).crx $(NAME)-$(VERSION).crx.sig .PHONY: dist xpi crx .SUFFIXES: ttl html png svg +.SILENT: -- cgit v1.2.3