source: acroread/trunk/fuentes/debian/rules @ 20

Last change on this file since 20 was 20, checked in by mabarracus, 5 years ago

added acroread ported from trusty, this is unmodified version from other ppa

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1#!/usr/bin/make -f
2
3FILENAME        := AdbeRdr9.5.5-1_i386linux_enu.deb
4
5configure: configure-stamp
6configure-stamp:
7        dh_testdir
8        touch configure-stamp
9
10
11build: build-stamp
12
13build-stamp: configure-stamp
14        dh_testdir
15        touch $@
16
17clean:
18        dh_testdir
19        dh_testroot
20        rm -f build-stamp configure-stamp
21        rm -rf $(CURDIR)/build
22        dh_clean
23
24install: build
25        dh_testdir
26        dh_testroot
27        dh_clean -k
28        dh_installdirs
29        # Add here commands to install the package into debian/acroread-bin.
30        dpkg -x $(FILENAME) $(CURDIR)/debian/acroread-bin; \
31        { rm $(CURDIR)/debian/acroread-bin/opt/Adobe/Reader9/bin/acroread; awk 'NR==6{print "export UBUNTU_MENUPROXY=0"}1' > $(CURDIR)/debian/acroread-bin/opt/Adobe/Reader9/bin/acroread; } < $(CURDIR)/debian/acroread-bin/opt/Adobe/Reader9/bin/acroread; \
32        chmod 755 $(CURDIR)/debian/acroread-bin/opt/Adobe/Reader9/bin/acroread; \
33        { rm $(CURDIR)/debian/acroread-bin/opt/Adobe/Reader9/Resource/Shell/acroread_tab; awk 'NR==2{print "if ! type _filedir &> /dev/null ; then"}1' > $(CURDIR)/debian/acroread-bin/opt/Adobe/Reader9/Resource/Shell/acroread_tab; } < $(CURDIR)/debian/acroread-bin/opt/Adobe/Reader9/Resource/Shell/acroread_tab; \
34        sed -i '0,/^}/s/^}/}\nfi/' $(CURDIR)/debian/acroread-bin/opt/Adobe/Reader9/Resource/Shell/acroread_tab
35
36
37# Build architecture-independent files here.
38binary-indep: build install
39# We have nothing to do by default.
40
41# Build architecture-dependent files here.
42binary-arch: build install
43        dh_testdir
44        dh_testroot
45        dh_installchangelogs
46        dh_installdocs
47        dh_link
48        dh_installdebconf
49#       dh_strip
50        dh_lintian
51        dh_compress
52        dh_fixperms
53        dh_installdeb
54        dh_shlibdeps -XSynchronizerApp-binary -XEFS.api -XdrvOpenGL -l $(CURDIR)/debian/acroread-bin/opt/Adobe/Reader9/Reader/intellinux/lib/ -- -v
55        dh_gencontrol
56        dh_md5sums
57        dh_builddeb
58
59binary: binary-indep binary-arch
60.PHONY: build clean binary-indep binary-arch binary install configure
Note: See TracBrowser for help on using the repository browser.