data/menu.xml
edit = $(SED) \
+ -e 's!@time\@!`date`!' \
-e 's!@version\@!$(VERSION)!' \
-e 's!@bindir\@!$(bindir)!'
@$(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 \
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 \
done \
done
-.PHONY: doc
+deb: dist debian/changelog
+ fakeroot debian/rules binary
+# dpkg-buildpackage -rfakeroot
+
+.PHONY: doc deb
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