File: rules

package info (click to toggle)
gnubiff 2.2.17-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,892 kB
  • sloc: cpp: 10,404; sh: 9,116; ansic: 457; makefile: 157; xml: 18
file content (40 lines) | stat: -rwxr-xr-x 920 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
33
34
35
36
37
38
39
40
#!/usr/bin/make -f

export DEB_CXXFLAGS_MAINT_APPEND=-std=c++14
%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-password --disable-gnome --disable-fam

override_dh_autoreconf:
	dh_autoreconf
	intltoolize --force --copy --automake

override_dh_auto_build:
	# wrongly referenced in po/*.po
	touch src/GNOME_gnubiffApplet.xml.h

	dh_auto_build

override_dh_auto_install:
	dh_auto_install

	# created by build system, bad for Debian (autogenerated by Debian)
	rm -f debian/gnubiff/usr/share/info/dir*
	rm -f debian/gnubiff/usr/lib/*/gnubiff/libgnubiff-applet.la

override_dh_auto_clean:
	dh_auto_clean
	-find . -name 'Makefile.in' | xargs rm -f
	-rm -f configure config.h.in aclocal.m4
	-rm -f INSTALL config.log \
	 config/compile \
	 config/config.guess \
	 config/config.h.in \
	 config/config.sub \
	 config/depcomp \
	 config/install-sh \
	 config/mdate-sh \
	 config/missing \
	 config/texinfo.tex