aclocal.m4
build
configure
+deb-build
## -*-makefile-*-
##
-## $Id: Makefile.am,v 1.9 2002/01/13 14:42:30 mdw Exp $
+## $Id: Makefile.am,v 1.10 2003/11/10 10:01:52 mdw Exp $
##
## Makefile for X tools
##
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.am,v $
+## Revision 1.10 2003/11/10 10:01:52 mdw
+## Debianization\!
+##
## Revision 1.9 2002/01/13 14:42:30 mdw
## New program to display messages and get answers.
##
bin_PROGRAMS = xwait xtell xscsize @GTK_PROGS@
EXTRA_PROGRAMS = $(GTK_PROGS)
man_MANS = xwait.1 xtell.1 xshutdown.1 xscsize.1 xgetline.1 xcatch.1 xmsg.1
-EXTRA_DIST = $(man_MANS)
+EXTRA_DIST = \
+ $(man_MANS) \
+ debian/rules debian/copyright debian/control debian/changelog
CLEANFILES = $(GTK_PROGS)
--- /dev/null
+files *.debhelper tmp xtoys-gtk substvars *.substvars
--- /dev/null
+xtoys (1.3.0) experimental; urgency=low
+
+ * Debianization!
+
+ -- Mark Wooding <mdw@nsict.org> Sun, 9 Nov 2003 16:37:03 +0000
--- /dev/null
+Source: xtoys
+Section: x11
+Priority: extra
+Maintainer: Mark Wooding <mdw@nsict.org>
+Standards-Version: 3.1.1
+
+Package: xtoys
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: A collection of small X11 tools
+ We have:
+ xscsize -- reports the display size as shell variables
+ xtell -- sets a root window property to a given string
+ xwait -- waits until a root window property gets one of a set of strings,
+ which is useful in .xinitrc files if you use a flaky window manager
+
+Package: xtoys-gtk
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: xtoys
+Description: A collection of small X11 tools
+ We have:
+ xcatch -- run a program, displaying its output in a scrolling window if
+ there is any
+ xgetline -- pops up a dialogue, reads a line of text, and reports the
+ entered line on stdout; can do passwords, history with optional size
+ limit, or simple selection from a list
+ xmsg -- pop up a dialogue showing a message and a bunch of buttons, and
+ gets a response
+ xshutdown -- pops up a dialogue, and if confirmed, sets a root window
+ property to a given string
--- /dev/null
+xtoys is copyright (c) 2003 Straylight/Edgeware.
+
+xtoys is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+xtoys is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have a copy of the GNU General Public License in
+/usr/share/common-licenses/GPL; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+USA.
--- /dev/null
+#! /usr/bin/make -f
+
+build:
+ rm -rf deb-build build; mkdir deb-build
+ cd deb-build; ../configure --prefix=/usr --mandir=/usr/share/man
+ make -C deb-build
+ touch build
+
+clean:
+ dh_clean
+ rm -rf deb-build build
+
+install: build
+ dh_clean
+ for i in xscsize xwait xtell; do \
+ dh_install -p xtoys deb-build/$$i usr/bin; \
+ dh_installman -p xtoys $$i.1; \
+ done
+ for i in xcatch xgetline xmsg xshutdown; do \
+ dh_install -p xtoys-gtk deb-build/$$i usr/bin; \
+ dh_installman -p xtoys-gtk $$i.1; \
+ done
+ dh_strip -a
+
+binary-indep:
+
+binary-arch: install
+ dh_testdir -a
+ dh_testroot -a
+ dh_compress -a
+ dh_installdocs -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+
+source:
+ rm -rf deb-build/*.tar.gz deb-build/=deb=
+ make -C deb-build dist
+ mkdir deb-build/=deb=
+ cd deb-build/=deb=; tar xvfz ../*.tar.gz
+ d=`pwd`; cd ..; dpkg-source -i -b $$d/deb-build/=deb=/*
+ rm -rf deb-build/=deb=
+
+.PHONY: binary binary-arch binary-indep clean install source