Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # To enable all, uncomment following line
4 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
5 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
6
7 # Uncomment this to turn on verbose mode.
8 #export DH_VERBOSE=1
9
10 %:
11 dh $@
12
13 override_dh_autoreconf:
14 mkdir m4; touch m4/.placeholder
15 dh_autoreconf
16 #~ [ ! -x "./autogen.sh" ] || ./autogen.sh
17 ## call `intltoolize` to fix the following error:
18 ## ~~~~\
19 ## config.status: executing po/stamp-it commands
20 ## config.status: error: po/Makefile.in.in was not created by intltoolize.
21 ## ~~~~/
22 intltoolize --automake --copy --force
23
24 execute_after_dh_auto_install:
25 mv debian/clipit/usr/bin/clipit debian/clipit/usr/bin/clipit.real
26
27 override_dh_auto_configure:
28 dh_auto_configure -- --with-gtk3 --enable-appindicator