updates to build debian and ubuntu debs. make man page say what webpage will probably say.

This commit is contained in:
Dana Jansens 2007-05-16 14:36:51 +00:00
parent b43b612e3b
commit fbae01436c
3 changed files with 21 additions and 13 deletions

10
debian/control vendored
View file

@ -7,12 +7,10 @@ Standards-Version: 3.7.2
Package: openbox Package: openbox
Architecture: i386 Architecture: i386
Depends: libc6 (>= 2.5), libglib2.0-0, libxcursor1, libx11-6, libpango1.0-0, libice6, libsm6, libxext6, libxinerama1, libxml2, libstartup-notification0, libxft2 Depends: libc6, libglib2.0-0, libxcursor1, libx11-6, libpango1.0-0, libice6, libsm6, libxext6, libxinerama1, libxml2, libstartup-notification0, libxft2
Recommends: obconf, ttf-bitstream-vera Recommends: obconf, ttf-bitstream-vera
Suggests: menu, x-display-manager, ksmserver | gnome-session Suggests: menu, x-display-manager, ksmserver | gnome-session, kdm | gdm
Conflicts: menu (<< 2.1.12) Conflicts: menu (<< 2.1.12)
Provides: x-window-manager Provides: x-window-manager
Description: stuff Description: A minimalistic, highly configurable, next generation window manager with extensive standards support.
long stuff http://icculus.org/openbox/
.
http://openbox.org/

View file

@ -30,8 +30,8 @@ manpage.1: manpage.sgml
<refnamediv> <refnamediv>
<refname>&dhpackage;</refname> <refname>&dhpackage;</refname>
<refpurpose>Next generation, highly configurable window manager <refpurpose>A minimalistic, highly configurable, next generation window
</refpurpose> manager with extensive standards support.</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
@ -50,9 +50,8 @@ manpage.1: manpage.sgml
<refsect1> <refsect1>
<title>DESCRIPTION</title> <title>DESCRIPTION</title>
<para>Openbox is a next generation, highly <para>Openbox is minimalistic, highly configurable, next generation window
configurable window manager. Openbox is compliant with the manager with extensive standards support.</para>
latest window manager standards.</para>
<para>You can start Openbox in three ways:</para> <para>You can start Openbox in three ways:</para>

15
makedeb
View file

@ -1,10 +1,21 @@
#!/bin/sh #!/bin/sh
if test "$1" = "ubuntu"; then
APPEND="ubuntu1";
else
if test "$1" = "debian"; then
APPEND="";
else
echo "Usage: makedeb [ubuntu|debian]";
exit 1;
fi
fi
# get the version from configure.ac # get the version from configure.ac
VERSION=$(grep AC_INIT\(\\\[openbox\\] configure.ac|cut -d [ -f 3-|cut -d ] -f 1) VERSION=$(grep AC_INIT\(\\\[openbox\\] configure.ac|cut -d [ -f 3-|cut -d ] -f 1)
echo echo
echo "Building deb for openbox-$VERSION" echo "Building deb for openbox-$VERSION$APPEND"
echo echo
TIME="$(date '+%a, %d %B %Y %T %z')" TIME="$(date '+%a, %d %B %Y %T %z')"
@ -17,6 +28,6 @@ make distclean > /dev/null || rm -f config.status
rm -f $OUT rm -f $OUT
sed -e "s!@time@!$TIME!" -e "s!@version@!$VERSION!" $IN >$OUT && \ sed -e "s!@time@!$TIME!" -e "s!@version@!$VERSION$APPEND!" $IN >$OUT && \
fakeroot debian/rules binary && \ fakeroot debian/rules binary && \
make distclean > /dev/null make distclean > /dev/null