~ubuntu-branches/ubuntu/saucy/gimplensfun/saucy-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Evgeni Golov
  • Date: 2011-03-09 19:27:04 UTC
  • Revision ID: james.westby@ubuntu.com-20110309192704-vrblqvk7bufoc92g
Tags: 0.1.1-1
Initial release (Closes: #608676)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# -*- makefile -*-
 
3
 
 
4
# Uncomment this to turn on verbose mode.
 
5
#export DH_VERBOSE=1
 
6
 
 
7
LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
 
8
CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
 
9
LDFLAGS+=-Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 
10
 
 
11
export CFLAGS LDFLAGS
 
12
 
 
13
%:
 
14
        dh $@ 
 
15
 
 
16
override_dh_auto_install:
 
17
        # why does gimptool-2.0 ignore my DESTDIR?
 
18
        # DESTDIR=debian/gimplensfun/ gimptool-2.0 --install-admin-bin gimplensfun
 
19
        install -m 755 -D gimplensfun debian/gimp-lensfun/$$(gimptool-2.0 --gimpplugindir)/plug-ins/gimplensfun