File: rules

package info (click to toggle)
caja-actions 1.27.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 47,552 kB
  • sloc: ansic: 47,493; xml: 3,656; makefile: 999; sh: 345
file content (32 lines) | stat: -rwxr-xr-x 803 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/make -f

DHFLAGS=

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ $(DHFLAGS) --without autoreconf

override_dh_install:
	rm -fv debian/tmp/usr/lib/*/*.la
	rm -fv debian/tmp/usr/lib/*/caja/extensions-2.0/*.la
	rm -fv debian/tmp/usr/lib/*/caja-actions/*.la
	rm -fv debian/tmp/usr/share/doc/caja-actions/ChangeLog
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_auto_configure:
	NOCONFIGURE=1 ./autogen.sh
	dh_auto_configure $(DHFLAGS) -- \
	        --with-gtk=3 \
	        --disable-scrollkeeper \
	        --disable-static \
	        --disable-silent-rules \
	        --enable-html-manuals

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..