[debian] Fix some lintian warnings.

This commit is contained in:
Kris Maglione 2010-07-07 22:47:39 +00:00
parent 116fdc62b4
commit 16670eb3fd
6 changed files with 23 additions and 28 deletions

9
debian/control vendored
View File

@ -2,12 +2,13 @@ Source: wmii-hg
Section: x11
Priority: optional
Maintainer: Kris Maglione <jg@suckless.org>
Build-Depends: libixp, python, libx11-dev, libxft-dev, libxext-dev, libxinerama-dev, libxrandr-dev, x11proto-xext-dev, quilt, debhelper (>= 4.0)
Standards-Version: 3.7.2
Build-Depends: libixp-hg, dash, python, libx11-dev, libxft-dev, libxext-dev, libxinerama-dev, libxrandr-dev, x11proto-xext-dev, quilt, debhelper (>= 4.0)
Standards-Version: 3.8.4
Homepage: http://wmii.suckless.org/
Package: wmii-hg
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}, dash (>= 0.1)
Conflicts: wmii, wmii2
Replaces: wmii, wmii2
Provides: x-window-manager
@ -17,5 +18,3 @@ Description: lightweight tabbed and tiled X11 window manager
window management with low memory usage. It is highly modularized and uses an
inter-process communication interface which is oriented on the 9p protocol of
plan9.
.
Homepage: <http://wmii.suckless.org/>

1
debian/docs vendored
View File

@ -1 +1,2 @@
FAQ
README

View File

@ -1,13 +0,0 @@
Author: Kris Maglione <jg@suckless.org>
Description: Create a config.local.mk for debian.
diff --git a/config.local.mk b/config.local.mk
new file mode 100644
--- /dev/null
+++ b/config.local.mk
@@ -0,0 +1,5 @@
+DESTDIR=$(ROOT)/debian/wmii-hg/
+PREFIX=/usr
+ETC=/etc/X11
+STATIC=
+TERMINAL=x-terminal-emulator

View File

@ -1 +0,0 @@
01-config-local-mk.patch

25
debian/rules vendored
View File

@ -1,21 +1,32 @@
#!/usr/bin/make -f
include /usr/share/quilt/quilt.make
PACKAGE=$(shell awk 'NR == 1 { print $$2 }' debian/control)
FLAGS = DESTDIR=$(CURDIR)/debian/$(PACKAGE)/ \
PREFIX=/usr \
ETC=/etc/X11 \
STATIC= \
TERMINAL=x-terminal-emulator
%:
dh $@
clean: unpatch
build: patch
override_dh_installwm:
dh_installwm --priority=60
override_dh_compress:
dh_compress -X.pdf
override_dh_auto_build:
$(MAKE) $(FLAGS) all
override_dh_auto_install:
$(MAKE) install
$(MAKE) $(FLAGS) install
install -D img/icon.png debian/wmii/usr/share/icons/wmii.png
install -D debian/file/wmii.desktop debian/wmii/usr/share/xsessions/wmii.desktop
rm debian/$(PACKAGE)/usr/share/doc/wmii/LICENSE
install -D -m0644 img/icon.png debian/$(PACKAGE)/usr/share/icons/wmii.png
install -D -m0644 debian/file/wmii.desktop debian/$(PACKAGE)/usr/share/xsessions/wmii.desktop
.depend:
true

2
debian/watch vendored
View File

@ -1,2 +0,0 @@
version=3
http://www.suckless.org/download/wmii-(.*)\.tar\.gz