~ubuntu-branches/ubuntu/wily/lightspark/wily-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Gabriele Giacone
  • Date: 2015-07-15 17:19:30 UTC
  • mto: This revision was merged to the branch mainline in revision 51.
  • Revision ID: package-import@ubuntu.com-20150715171930-zao3iotvnwui3isc
* Run dpkg-vendor at build time (Closes: #790807).
* Remove Didier from Uploaders, add myself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
UVER := $(shell dpkg-parsechangelog|sed -n '/^Version/{s/Version: \(.*\)/\1/p}'|cut -f1 -d-)
12
12
 
 
13
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
 
14
        ALTLINK=/usr/lib/mozilla/plugins/flashplugin-alternative.so
 
15
        ALTNAME=mozilla-flashplugin
 
16
else
 
17
        ALTLINK=/usr/lib/mozilla/plugins/flash-mozilla.so
 
18
        ALTNAME=flash-mozilla.so
 
19
endif
 
20
INFILES := $(wildcard debian/*.in)
 
21
GENERATED := $(INFILES:.in=)
 
22
 
 
23
$(GENERATED):
 
24
        sed -e "s#@ALTLINK@#$(ALTLINK)#" -e "s#@ALTNAME@#$(ALTNAME)#" $@.in > $@
 
25
 
13
26
%:
14
27
        dh $@ --parallel
15
28
 
19
32
override_dh_strip:
20
33
        dh_strip --dbg-package=lightspark-dbg
21
34
 
22
 
override_dh_install:
 
35
override_dh_install: $(GENERATED)
23
36
        dh_install --list-missing
24
37
 
25
38
override_dh_shlibdeps:
33
46
override_dh_makeshlibs:
34
47
        dh_makeshlibs -X/usr/lib/lightspark
35
48
 
 
49
override_dh_clean:
 
50
        dh_clean
 
51
        rm -f $(GENERATED)
 
52
 
36
53
VER = $(UVER)+git$(shell date -u '+%Y%m%d')
37
54
TMPDIR = lightspark-$(VER)
38
55
get-orig-source: