src/firefoxos/Makefile

Wed, 31 Jul 2013 19:51:20 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Jul 2013 19:51:20 +0200
changeset 15
9ca643a77115
parent 13
deac632e477c
permissions
-rw-r--r--

Correct missing whitespace in distribution logic.

     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 ##
    24 # Paths
    25 distdir   = ../../dist
    27 # Files
    28 ZIPBALL   = otpwcalc-foxos-$(VERSION).zip
    30 # Vars
    31 VERSION   = 0.7.5
    33 # Progs
    34 PROGZIP   = zip
    35 PROGECHO  = echo
    37 # Logic
    38 all:
    39 	@$(PROGECHO) 'Nothing to do... To roll a zipball please make the dist target.'
    41 dist: Makefile
    42 	@if [ -e $(distdir)/$(ZIPBALL) ]; \
    43 	    then $(PROGECHO) '$(distdir)/$(ZIPBALL) already exists, aborting.'; \
    44 	else \
    45 	    $(PROGZIP) -r9 $(distdir)/$(ZIPBALL) . -x Makefile -x test/\* -x otpwcalc.appcache -x jquery.plugins/\* -x img/keonmobile.png -x img/\*.svg -x img/\*.xcf; \
    46 	fi

mercurial