14 |
configure: configure-stamp |
configure: configure-stamp |
15 |
configure-stamp: |
configure-stamp: |
16 |
dh_testdir |
dh_testdir |
17 |
./configure --prefix=/usr --sysconfdir=/etc --enable-perl |
./configure --prefix=/usr --sysconfdir=/etc --mandir=\$${prefix}/share/man \ |
18 |
|
--enable-perl |
19 |
touch configure-stamp |
touch configure-stamp |
20 |
|
|
21 |
|
|
30 |
dh_testdir |
dh_testdir |
31 |
dh_testroot |
dh_testroot |
32 |
rm -f build-stamp configure-stamp |
rm -f build-stamp configure-stamp |
33 |
-$(MAKE) clean |
-$(MAKE) distclean |
34 |
dh_clean |
dh_clean |
35 |
|
|
36 |
install: build |
install: build |
41 |
$(MAKE) install DESTDIR=$(CURDIR)/debian/weechat |
$(MAKE) install DESTDIR=$(CURDIR)/debian/weechat |
42 |
dh_install --sourcedir=debian/weechat |
dh_install --sourcedir=debian/weechat |
43 |
install -o root -g root -m 755 src/gui/curses/weechat-curses $(CURDIR)/debian/weechat-curses/usr/bin |
install -o root -g root -m 755 src/gui/curses/weechat-curses $(CURDIR)/debian/weechat-curses/usr/bin |
44 |
#install -o root -g root -m 755 src/gui/gtk/weechat-gtk $(CURDIR)/debian/weechat-gtk/usr/bin |
# install -o root -g root -m 755 src/gui/gtk/weechat-gtk $(CURDIR)/debian/weechat-gtk/usr/bin |
45 |
|
|
46 |
|
|
47 |
# Build architecture-independent files here. |
# Build architecture-independent files here. |
48 |
binary-indep: build install |
binary-indep: build install |
49 |
dh_testdir -pweechat-common |
dh_testdir -pweechat-common -pweechat |
50 |
dh_testroot -pweechat-common |
dh_testroot -pweechat-common -pweechat |
51 |
dh_installchangelogs ChangeLog -pweechat-common |
dh_installchangelogs ChangeLog -pweechat-common |
52 |
dh_installdocs -pweechat-common |
dh_installdocs -pweechat-common |
53 |
dh_installexamples -pweechat-common |
dh_installexamples -pweechat-common |
54 |
dh_compress -pweechat-common |
dh_compress -pweechat-common -pweechat |
55 |
dh_fixperms -pweechat-common |
dh_link -pweechat usr/share/doc/weechat-common usr/share/doc/weechat |
56 |
dh_installdeb -pweechat-common |
dh_fixperms -pweechat-common -pweechat |
57 |
dh_shlibdeps -pweechat-common |
dh_installdeb -pweechat-common -pweechat |
58 |
dh_gencontrol -pweechat-common |
dh_shlibdeps -pweechat-common -pweechat |
59 |
dh_md5sums -pweechat-common |
dh_gencontrol -pweechat-common -pweechat |
60 |
dh_builddeb -pweechat-common |
dh_md5sums -pweechat-common -pweechat |
61 |
|
dh_builddeb -pweechat-common -pweechat |
62 |
|
|
63 |
# Build architecture-dependent files here. |
# Build architecture-dependent files here. |
64 |
binary-arch: build install |
binary-arch: build install |
65 |
dh_testdir -a |
dh_testdir -a |
66 |
dh_testroot -a |
dh_testroot -a |
67 |
dh_installchangelogs -a |
# dh_installchangelogs -a |
68 |
dh_installdocs -a |
# dh_installdocs -a |
69 |
dh_installman weechat-curses.1 -pweechat-curses |
dh_installman weechat-curses.1 -pweechat-curses |
70 |
dh_link -a |
dh_link -a usr/share/doc/weechat-common usr/share/doc/weechat-curses |
71 |
dh_strip -a |
dh_strip -a |
72 |
dh_compress -a |
dh_compress -a |
73 |
dh_fixperms -a |
dh_fixperms -a |