some changes to the build stuff for debian

This commit is contained in:
Dana Jansens 2007-05-12 21:45:47 +00:00
parent ea5d04bc53
commit 9c6f23117e
4 changed files with 36 additions and 7 deletions

View file

@ -363,6 +363,7 @@ dist_rc_DATA = \
data/menu.xml
edit = $(SED) \
-e 's!@time\@!`date`!' \
-e 's!@version\@!$(VERSION)!' \
-e 's!@bindir\@!$(bindir)!'
@ -384,6 +385,13 @@ data/xsession/openbox-kde-session: Makefile data \
@$(edit) $(srcdir)/data/xsession/openbox-kde-session.in >$@
@chmod +x $@
debian/changelog: debian debian/changelog.in
@echo make: creating $@
@rm -f $@
@mkdir debian 2>/dev/null || true
@$(edit) $(srcdir)/debian/changelog.in >$@
@chmod +x $@
dist_gnomewmfiles_DATA = \
data/gnome-wm-properties/openbox.desktop \
data/gnome-wm-properties/openbox-gnome.desktop \
@ -395,6 +403,21 @@ dist_xsessions_DATA = \
data/xsession/openbox-kde.desktop
dist_noinst_DATA = \
debian/changelog.in
debian/compat
debian/control
debian/copyright
debian/dirs
debian/docs
debian/menu.ex
debian/openbox-default.ex
debian/openbox.doc-base.EX
debian/postinst.ex
debian/postrm.ex
debian/preinst.ex
debian/prerm.ex
debian/rules
debian/watch.ex
version.h.in \
data/rc.xsd \
data/menu.xsd \
@ -442,4 +465,8 @@ distclean-local:
done \
done
.PHONY: doc
deb: dist debian/changelog
fakeroot debian/rules binary
# dpkg-buildpackage -rfakeroot
.PHONY: doc deb

6
debian/changelog.in vendored Normal file
View file

@ -0,0 +1,6 @@
openbox (@version@-0) unstable; urgency=low
* Upstream release.
-- Dana Jansens <danakj@orodu.net> @time@

4
debian/control vendored
View file

@ -2,13 +2,13 @@ Source: openbox
Section: x11
Priority: optional
Maintainer: Dana Jansens <danakj@orodu.net>
Build-Depends: debhelper (>= 5), autotools-dev, gcc, automake1.9, autoconf, libtool, pkg-config, libpango1.0-dev, libglib2.0-dev, libxml2-dev, libxcursor-dev, libstartup-notification0-dev, xlibs-dev, libxinerama-dev, libxft2-dev
Build-Depends: debhelper (>= 5), coreutils, sed, autotools-dev, gcc, automake1.9, autoconf, libtool, pkg-config, libpango1.0-dev, libglib2.0-dev, libxml2-dev, libxcursor-dev, libstartup-notification0-dev, xlibs-dev, libxinerama-dev, libxft2-dev
Standards-Version: 3.7.2
Package: openbox
Architecture: i386
Depends: libc6 (>= 2.5), libglib2.0-0, libxcursor, libx11-6, libpango1.0-0, libice6, libsm6, libxext6, libxinerama1, libxml2, libstartup-notification0, libxft2
Recommends: obconf, x-display-manager, x-session-manager, ttf-bitstream-vera
Recommends: obconf, x-display-manager, (ksmserver | gnome-session), ttf-bitstream-vera
Suggests: menu
Conflicts: menu (<< 2.1.12)
Provides: x-window-manager

4
debian/cron.d.ex vendored
View file

@ -1,4 +0,0 @@
#
# Regular cron jobs for the openbox package
#
0 4 * * * root openbox_maintenance