4
# Uncomment this to turn on verbose mode.
7
LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
8
CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
9
LDFLAGS+=-Wl,-z,defs -Wl,-O1 -Wl,--as-needed
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