diff -r 000000000000 -r 6a0957738c54 src/firefoxos/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/firefoxos/Makefile Mon Apr 22 22:00:43 2013 +0200 @@ -0,0 +1,46 @@ +## +## OTPWCalc - One time password challenge response calculator client +## Copyright © 2013 Michael Schloh von Bennewitz +## +## OTPWCalc is free software: you can redistribute it and/or modify +## it under the terms of the European Union Public Licence, either +## version 1.1 of the license, or (at your option) any later version. +## +## OTPWCalc is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty +## of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See +## the European Union Public License for more details. +## +## You should have received a copy of the European Union Public +## Licence along with OTPWCalc. If not, please refer to +## . +## +## This file is part of project OTWPCalc, a one time password challenge +## response calculator client and is found at http://otpwcalc.europalab.com/ +## +## Makefile: Autoconf Makefile configuration +## + +# Paths +distdir = ../../dist + +# Files +ZIPBALL = otpwcalc-foxos-$(VERSION).zip + +# Vars +VERSION = 0.7.1 + +# Progs +PROGZIP = zip +PROGECHO = echo + +# Logic +all: + @$(PROGECHO) 'Nothing to do... To roll a zipball please make the dist target.' + +dist: Makefile + @if [ -e $(distdir)/$(ZIPBALL) ]; \ + then $(PROGECHO) '$(distdir)/$(ZIPBALL) already exists, aborting.'; \ + else \ + $(PROGZIP) -r9 $(distdir)/$(ZIPBALL) . -x Makefile -x otpwcalc.appcache -x jquery.plugins/\*-x img/keonmobile.png -x img/\*.svg -x img/\*.xcf; \ + fi