mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
install, manpages, rules: update package build/install procedures to
use configure && make && make install
This commit is contained in:
parent
0ae6b88ed5
commit
ab40e32c85
4 changed files with 22 additions and 21 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -22,6 +22,8 @@ byobu (3.0) unreleased; urgency=low
|
||||||
Unix/Linux distro) to $(./configure && make && make install) byobu!
|
Unix/Linux distro) to $(./configure && make && make install) byobu!
|
||||||
LP: #609851, #608995, #503554
|
LP: #609851, #608995, #503554
|
||||||
- I think this is a significant enough milestone to bump version to 3.0
|
- I think this is a significant enough milestone to bump version to 3.0
|
||||||
|
* install, manpages, rules: update package build/install procedures to
|
||||||
|
use configure && make && make install
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 07 Jul 2010 11:36:03 -0400
|
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 07 Jul 2010 11:36:03 -0400
|
||||||
|
|
||||||
|
|
9
debian/install
vendored
9
debian/install
vendored
|
@ -1,4 +1,5 @@
|
||||||
etc/*
|
/usr
|
||||||
usr/*
|
../../etc/byobu/socketdir etc/byobu/
|
||||||
debian/source_byobu.py usr/share/apport/package-hooks
|
../../etc/byobu/statusrc etc/byobu/
|
||||||
debian/lintian/byobu usr/share/lintian/overrides
|
../../debian/source_byobu.py usr/share/apport/package-hooks
|
||||||
|
../../debian/lintian/byobu usr/share/lintian/overrides
|
||||||
|
|
9
debian/manpages
vendored
9
debian/manpages
vendored
|
@ -1,9 +0,0 @@
|
||||||
usr/share/man/man1/byobu-select-profile.1
|
|
||||||
usr/share/man/man1/byobu-launcher.1
|
|
||||||
usr/share/man/man1/byobu-reconnect-sockets.1
|
|
||||||
usr/share/man/man1/byobu-status.1
|
|
||||||
usr/share/man/man1/shell.1
|
|
||||||
usr/share/man/man1/byobu-export.1
|
|
||||||
usr/share/man/man1/byobu-config.1
|
|
||||||
usr/share/man/man1/byobu-status-detail.1
|
|
||||||
usr/share/man/man1/byobu.1
|
|
23
debian/rules
vendored
23
debian/rules
vendored
|
@ -10,8 +10,8 @@ VER=`head -n 1 debian/changelog | sed 's/^.*(//' | sed 's/).*//' | sed 's/-.*//'
|
||||||
install-po: update-pot
|
install-po: update-pot
|
||||||
for po in po/*.po ; do \
|
for po in po/*.po ; do \
|
||||||
lang=$${po#po/}; lang=$${lang%.po}; \
|
lang=$${po#po/}; lang=$${lang%.po}; \
|
||||||
mkdir -p usr/share/locale/$${lang}/LC_MESSAGES/; \
|
mkdir -p debian/tmp/usr/share/locale/$${lang}/LC_MESSAGES/; \
|
||||||
msgfmt $${po} -o usr/share/locale/$${lang}/LC_MESSAGES/${PKG}.mo ; \
|
msgfmt $${po} -o debian/tmp/usr/share/locale/$${lang}/LC_MESSAGES/${PKG}.mo ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
update-pot:
|
update-pot:
|
||||||
|
@ -22,12 +22,21 @@ update-pot:
|
||||||
msgmerge $${po} po/${PKG}.pot -o $${po} ; \
|
msgmerge $${po} po/${PKG}.pot -o $${po} ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
prebuild:
|
prebuild: clean
|
||||||
|
dh_testdir
|
||||||
|
aclocal
|
||||||
|
automake --add-missing
|
||||||
|
autoconf
|
||||||
|
./configure --prefix=/usr
|
||||||
|
|
||||||
build:
|
build: prebuild
|
||||||
|
dh_testdir
|
||||||
|
$(MAKE)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
dh_testdir
|
||||||
dh_clean
|
dh_clean
|
||||||
|
[ ! -f Makefile ] || $(MAKE) distclean
|
||||||
for po in po/*.po ; do \
|
for po in po/*.po ; do \
|
||||||
lang=$${po#po/}; lang=$${lang%.po}; \
|
lang=$${po#po/}; lang=$${lang%.po}; \
|
||||||
rm -f po/locale/$${lang}/LC_MESSAGES/${PKG}.mo ; \
|
rm -f po/locale/$${lang}/LC_MESSAGES/${PKG}.mo ; \
|
||||||
|
@ -36,17 +45,15 @@ clean:
|
||||||
install: build install-po
|
install: build install-po
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_clean -k
|
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
|
||||||
dh_link usr/share/byobu/keybindings/f-keys usr/share/byobu/keybindings/common
|
dh_link usr/share/byobu/keybindings/f-keys usr/share/byobu/keybindings/common
|
||||||
dh_link usr/bin/shell usr/bin/motd+shell
|
dh_link usr/bin/shell usr/bin/motd+shell
|
||||||
dh_install -X.bzr
|
|
||||||
|
|
||||||
# Everything else is handled by dh_install
|
|
||||||
|
|
||||||
# Build architecture-independent files here.
|
# Build architecture-independent files here.
|
||||||
binary-indep: build install
|
binary-indep: build install
|
||||||
dh_testdir -i
|
dh_testdir -i
|
||||||
dh_testroot -i
|
dh_testroot -i
|
||||||
|
dh_install -X.bzr --fail-missing --sourcedir=debian/tmp -i
|
||||||
dh_installdocs -X.bzr -i
|
dh_installdocs -X.bzr -i
|
||||||
dh_installman -i
|
dh_installman -i
|
||||||
dh_installchangelogs -i
|
dh_installchangelogs -i
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue