Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4 DPKG_EXPORT_BUILDFLAGS = 1
5 include /usr/share/dpkg/buildflags.mk
6
7 DHFLAGS=--parallel
8
9 %:
10 dh $@ $(DHFLAGS)
11
12 override_dh_auto_configure:
13 NOCONFIGURE=1 ./autogen.sh
14 dh_auto_configure $(DHFLAGS) -- \
15 --disable-silent-rules
16
17 override_dh_makeshlibs:
18 # Don't generate a shlibs file for the plugin
19 dh_makeshlibs -X/usr/lib/caja/
20
21 override_dh_install:
22 # Drop useless files
23 rm -f debian/caja-dropbox/usr/lib/*/caja/extensions-*/libcaja-dropbox.a
24 rm -f debian/caja-dropbox/usr/lib/*/caja/extensions-*/libcaja-dropbox.la
25 dh_install
26
27 override_dh_missing:
28 dh_missing --fail-missing
29
30 override_dh_auto_clean:
31 dh_auto_clean
32 rm -f INSTALL
33 rm -f aclocal.m4
34 rm -f config.guess
35 rm -f config.h.in
36 rm -f config.sub
37 rm -f configure
38 rm -f depcomp
39 rm -f install-sh
40 rm -f ltmain.sh
41 rm -f missing
42 rm -f omf.make
43 rm -f xmldocs.make
44 for x in `find . -name Makefile.in`; do \
45 rm -f $$x; \
46 done
47
48 get-orig-source:
49 uscan --noconf --force-download --rename --download-current-version --destdir=../