|
1 ## |
|
2 ## OTPWCalc - One time password challenge response calculator client |
|
3 ## Copyright © 2013 Michael Schloh von Bennewitz <michael@schloh.com> |
|
4 ## |
|
5 ## OTPWCalc is free software: you can redistribute it and/or modify |
|
6 ## it under the terms of the European Union Public Licence, either |
|
7 ## version 1.1 of the license, or (at your option) any later version. |
|
8 ## |
|
9 ## OTPWCalc is distributed in the hope that it will be useful, |
|
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty |
|
11 ## of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See |
|
12 ## the European Union Public License for more details. |
|
13 ## |
|
14 ## You should have received a copy of the European Union Public |
|
15 ## Licence along with OTPWCalc. If not, please refer to |
|
16 ## <http://joinup.ec.europa.eu/software/page/eupl/>. |
|
17 ## |
|
18 ## This file is part of project OTWPCalc, a one time password challenge |
|
19 ## response calculator client and is found at http://otpwcalc.europalab.com/ |
|
20 ## |
|
21 ## Makefile: Autoconf Makefile configuration |
|
22 ## |
|
23 |
|
24 # Paths |
|
25 distdir = ../../dist |
|
26 |
|
27 # Files |
|
28 WIDGET = otpwcalc-tizen-$(VERSION).wgt |
|
29 |
|
30 # Vars |
|
31 VERSION = 0.7.5 |
|
32 |
|
33 # Progs |
|
34 PROGWGT = unknown |
|
35 PROGECHO = echo |
|
36 |
|
37 # Logic |
|
38 all: |
|
39 @$(PROGECHO) 'Nothing to do... To roll a zipball please make the dist target.' |
|
40 |
|
41 dist: Makefile |
|
42 @if [ -e $(distdir)/$(WIDGET) ]; \ |
|
43 then $(PROGECHO) '$(distdir)/$(WIDGET) already exists, aborting.'; \ |
|
44 else \ |
|
45 $(PROGWGT) -r9 $(distdir)/$(WIDGET) . -x Makefile -x test/\* -x otpwcalc.appcache -x jquery.plugins/\* -x img/\*.svg -x img/\*.xcf; \ |
|
46 fi |