Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 include /usr/share/dpkg/architecture.mk
5
6 %:
7 dh $@
8
9 # Detect which package is provided by compiz-core:
10 COMPIZCORE_DEPENDS := $(shell dpkg-query --showformat='$${Provides}\n' -W compiz-core)
11
12 override_dh_auto_configure:
13 intltoolize --copy --force --automake
14 dh_auto_configure -- --disable-static --libdir=/usr/lib
15
16 override_dh_install:
17 # remove unneeded .la files
18 find $(CURDIR)/debian -type f -name '*.la' -print0 | xargs -0 rm -f
19 dh_install
20 mkdir debian/compiz-plugins-main/usr/lib/$(DEB_HOST_MULTIARCH)
21 mv debian/compiz-plugins-main/usr/lib/pkgconfig debian/compiz-plugins-main/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
22
23 override_dh_gencontrol:
24 dh_gencontrol -- -Vcompizcore:Depends=$(COMPIZCORE_DEPENDS)