--- /dev/null
+INSTALLDIR=/usr/bin
+VERSION="0.0.1"
+SOURCES=bitfield bitfield-completions.sh bitfield.vim Makefile
+DEBSOURCES=bitfield.install bitfield-data.install changelog control rules
+CONFS=cell.conf powerpc.conf
+
+all:
+
+clean:
+ rm -rf bitfield-${VERSION}
+
+install:
+ install -d ${DESTDIR}${INSTALLDIR}
+ install -d ${DESTDIR}/etc/bash_completion.d
+ install -d ${DESTDIR}/usr/share/vim/addons/syntax
+ install -d ${DESTDIR}/etc/bitfield.d
+ install -m 755 -t ${DESTDIR}${INSTALLDIR} bitfield
+ install -m 644 -D bitfield-completions.sh ${DESTDIR}/etc/bash_completion.d/bitfield
+ install -m 644 -t ${DESTDIR}/usr/share/vim/addons/syntax bitfield.vim
+ install -m 644 -t ${DESTDIR}/etc/bitfield.d $(foreach f,$(CONFS),conf/$(f))
+
+dist: clean
+ mkdir -p bitfield-${VERSION}/debian
+ mkdir -p bitfield-${VERSION}/conf
+ cp -a ${SOURCES} bitfield-${VERSION}
+ cp -a $(foreach f,$(DEBSOURCES),debian/$(f)) bitfield-${VERSION}/debian
+ cp -a $(foreach f,$(CONFS),conf/$(f)) bitfield-${VERSION}/conf
+ tar zcvf bitfield-${VERSION}.tar.gz bitfield-${VERSION}
--- /dev/null
+debian/tmp/etc/bitfield.d/cell.conf
+debian/tmp/etc/bitfield.d/powerpc.conf
--- /dev/null
+debian/tmp/usr/bin/bitfield
+debian/tmp/etc/bash_completion.d/bitfield
+debian/tmp/usr/share/vim/addons/syntax/bitfield.vim
--- /dev/null
+bitfield (0.0.1-1) unstable; urgency=low
+
+ * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+
+ -- Michael Neuling <mikey@neuling.org> Tue, 21 Nov 2006 10:16:23 +1100
+
--- /dev/null
+Source: bitfield
+Section: unknown
+Priority: optional
+Maintainer: Michael Neuling <mikey@neuling.org>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: bitfield
+Architecture: all
+Depends: python, python-pyparsing, bitfield-data
+Description: Break regsiters down into their bit fields
+ Break regsiters down into their bit fields
+
+Package: bitfield-data
+Architecture: all
+Description: Data for bitfield
+ Data for bitfield
--- /dev/null
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+
+#DEB_MAKE_CLEAN_TARGET = clean
+#DEB_MAKE_BUILD_TARGET = all
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/tmp/
+# no check for this software
+DEB_MAKE_CHECK_TARGET =
+
+# example when changing environment variables is necessary
+#DEB_MAKE_ENVVARS = CFLAGS="-pwet"