mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 14:03:18 -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!
|
||||
LP: #609851, #608995, #503554
|
||||
- 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
|
||||
|
||||
|
|
9
debian/install
vendored
9
debian/install
vendored
|
@ -1,4 +1,5 @@
|
|||
etc/*
|
||||
usr/*
|
||||
debian/source_byobu.py usr/share/apport/package-hooks
|
||||
debian/lintian/byobu usr/share/lintian/overrides
|
||||
/usr
|
||||
../../etc/byobu/socketdir etc/byobu/
|
||||
../../etc/byobu/statusrc etc/byobu/
|
||||
../../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
|
||||
for po in po/*.po ; do \
|
||||
lang=$${po#po/}; lang=$${lang%.po}; \
|
||||
mkdir -p usr/share/locale/$${lang}/LC_MESSAGES/; \
|
||||
msgfmt $${po} -o usr/share/locale/$${lang}/LC_MESSAGES/${PKG}.mo ; \
|
||||
mkdir -p debian/tmp/usr/share/locale/$${lang}/LC_MESSAGES/; \
|
||||
msgfmt $${po} -o debian/tmp/usr/share/locale/$${lang}/LC_MESSAGES/${PKG}.mo ; \
|
||||
done
|
||||
|
||||
update-pot:
|
||||
|
@ -22,12 +22,21 @@ update-pot:
|
|||
msgmerge $${po} po/${PKG}.pot -o $${po} ; \
|
||||
done
|
||||
|
||||
prebuild:
|
||||
prebuild: clean
|
||||
dh_testdir
|
||||
aclocal
|
||||
automake --add-missing
|
||||
autoconf
|
||||
./configure --prefix=/usr
|
||||
|
||||
build:
|
||||
build: prebuild
|
||||
dh_testdir
|
||||
$(MAKE)
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_clean
|
||||
[ ! -f Makefile ] || $(MAKE) distclean
|
||||
for po in po/*.po ; do \
|
||||
lang=$${po#po/}; lang=$${lang%.po}; \
|
||||
rm -f po/locale/$${lang}/LC_MESSAGES/${PKG}.mo ; \
|
||||
|
@ -36,17 +45,15 @@ clean:
|
|||
install: build install-po
|
||||
dh_testdir
|
||||
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/bin/shell usr/bin/motd+shell
|
||||
dh_install -X.bzr
|
||||
|
||||
# Everything else is handled by dh_install
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
dh_testdir -i
|
||||
dh_testroot -i
|
||||
dh_install -X.bzr --fail-missing --sourcedir=debian/tmp -i
|
||||
dh_installdocs -X.bzr -i
|
||||
dh_installman -i
|
||||
dh_installchangelogs -i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue