source: adobe-flashplugin/trunk/fuentes/debian/rules @ 6066

Last change on this file since 6066 was 8, checked in by mabarracus, 4 years ago

ported trusty code from repo to xenial repo

  • Property svn:executable set to *
File size: 957 bytes
Line 
1#!/usr/bin/make -f
2
3%:
4        dh $@
5
6
7override_dh_install:
8        #generate install files
9        cat debian/adobe-flashplugin.install.in | sed -e 's/#ARCH#/$(DEB_BUILD_ARCH)/g' > debian/adobe-flashplugin.install
10        cat debian/adobe-flash-properties-gtk.install.in | sed -e 's/#ARCH#/$(DEB_BUILD_ARCH)/g' > debian/adobe-flash-properties-gtk.install
11        cat debian/adobe-flash-properties-kde.install.in | sed -e 's/#ARCH#/$(DEB_BUILD_ARCH)/g' > debian/adobe-flash-properties-kde.install
12        cat debian/10-flash.in | sed -e 's/#PPAPI_VERSION#/$(shell python -c "import json; print json.load(file('$(DEB_BUILD_ARCH)/manifest.json'))['version']")/g' > debian/10-flash
13        if [ "$(DEB_BUILD_ARCH)" = "amd64" ]; then\
14          sed -i 's/#MINI#/64/g' debian/adobe-flash-properties-kde.install;\
15        else\
16          sed -i 's/#MINI#//g' debian/adobe-flash-properties-kde.install;\
17        fi
18        dh_install
19
20override_dh_clean:
21        rm -f debian/*.install debian/10-flash
22        dh_clean
23
24override_dh_strip:
25        #Do not strip binaries
Note: See TracBrowser for help on using the repository browser.