File: rules

package info (click to toggle)
clipit 1.4.4%2Bgit20190202-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 828 kB
  • sloc: ansic: 3,567; makefile: 90; sh: 84
file content (29 lines) | stat: -rwxr-xr-x 795 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
#!/usr/bin/make -f

# To enable all, uncomment following line
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf
#~	[ ! -x "./autogen.sh" ] || ./autogen.sh
## call `intltoolize` to fix the following error:
## ~~~~\
## config.status: executing po/stamp-it commands
## config.status: error: po/Makefile.in.in was not created by intltoolize.
## ~~~~/
	intltoolize --automake --copy --force

override_dh_auto_install:
	dh_auto_install
	mv debian/clipit/usr/bin/clipit debian/clipit/usr/bin/clipit.real

override_dh_auto_configure:
	dh_auto_configure -- --with-gtk3 --enable-appindicator