1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/firefoxos/Makefile Mon Apr 22 22:00:43 2013 +0200 1.3 @@ -0,0 +1,46 @@ 1.4 +## 1.5 +## OTPWCalc - One time password challenge response calculator client 1.6 +## Copyright © 2013 Michael Schloh von Bennewitz <michael@schloh.com> 1.7 +## 1.8 +## OTPWCalc is free software: you can redistribute it and/or modify 1.9 +## it under the terms of the European Union Public Licence, either 1.10 +## version 1.1 of the license, or (at your option) any later version. 1.11 +## 1.12 +## OTPWCalc is distributed in the hope that it will be useful, 1.13 +## but WITHOUT ANY WARRANTY; without even the implied warranty 1.14 +## of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 1.15 +## the European Union Public License for more details. 1.16 +## 1.17 +## You should have received a copy of the European Union Public 1.18 +## Licence along with OTPWCalc. If not, please refer to 1.19 +## <http://joinup.ec.europa.eu/software/page/eupl/>. 1.20 +## 1.21 +## This file is part of project OTWPCalc, a one time password challenge 1.22 +## response calculator client and is found at http://otpwcalc.europalab.com/ 1.23 +## 1.24 +## Makefile: Autoconf Makefile configuration 1.25 +## 1.26 + 1.27 +# Paths 1.28 +distdir = ../../dist 1.29 + 1.30 +# Files 1.31 +ZIPBALL = otpwcalc-foxos-$(VERSION).zip 1.32 + 1.33 +# Vars 1.34 +VERSION = 0.7.1 1.35 + 1.36 +# Progs 1.37 +PROGZIP = zip 1.38 +PROGECHO = echo 1.39 + 1.40 +# Logic 1.41 +all: 1.42 + @$(PROGECHO) 'Nothing to do... To roll a zipball please make the dist target.' 1.43 + 1.44 +dist: Makefile 1.45 + @if [ -e $(distdir)/$(ZIPBALL) ]; \ 1.46 + then $(PROGECHO) '$(distdir)/$(ZIPBALL) already exists, aborting.'; \ 1.47 + else \ 1.48 + $(PROGZIP) -r9 $(distdir)/$(ZIPBALL) . -x Makefile -x otpwcalc.appcache -x jquery.plugins/\*-x img/keonmobile.png -x img/\*.svg -x img/\*.xcf; \ 1.49 + fi