~vono22/cookiekeeper/1.9.0

« back to all changes in this revision

Viewing changes to cookiekeeper/Makefile

  • Committer: Yvon TANGUY
  • Date: 2014-04-09 19:37:40 UTC
  • Revision ID: vono@vono.zsh.jp-20140409193740-1cqp6j5bgei4g91n
Fix #1305252 : Regression: preference extensions.cookiekeeper.version not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# CookieKeeper - a Mozilla add-on
2
 
# (c) 2013-2016 Yvon TANGUY
 
2
# (c) 2013-2014 Yvon TANGUY
3
3
#
4
4
# ***** BEGIN LICENSE BLOCK **********************************************
5
5
#
12
12
version=$(shell cat install.rdf | grep "em:version" | sed 's/.*<em:version>//;s/<.*//')
13
13
XPI=cookiekeeper-$(version).xpi
14
14
 
15
 
EXCLUDE="*.xpi" "*.DS_Store" "*Thumbs.db" "*~" ".vscode/*" "jsconfig.json" "browse.VC.db"
16
 
 
17
 
all:
18
 
        rm -fv $(XPI)
19
 
        zip -T -9 -r $(XPI) . -x $(EXCLUDE)
20
 
 
21
 
mrproper: clean mac_clean win_clean
22
 
        find . -name "*~" -delete -print
23
 
        @echo "-------------------------"
24
 
        @echo "It's good to be clean :-)"
 
15
all: clean
 
16
        zip -x "*svg" -x "*.xpi" -x "tests/*" -9 -r $(XPI) *
 
17
        @sync
25
18
 
26
19
clean:
27
 
        rm -fv *.xpi
28
 
 
29
 
mac_clean:
30
 
        find . -name .DS_Store -delete -print
31
 
 
32
 
win_clean:
33
 
        find . -name Thumbs.db -delete -print
 
20
        rm -f $(XPI)