rocl-*.zip
elite.o
STEELE.nkc
+deb-build
+build
# Makefile for RIGHT ON COMMAND-LINE
#
-# $Id: Makefile,v 1.13 2003/03/24 08:27:18 mdw Exp $
+# $Id: Makefile,v 1.14 2003/11/29 23:47:33 mdw Exp $
#----- Configuration stuff --------------------------------------------------
DISTDIR = $(PACKAGE)-$(VERSION)
DISTFILES = \
README Makefile $(SRCFILES) elite.tcl steele.cmdr \
- elite.def vec.def graph.def $(TCLSCRIPTS)
+ elite.def vec.def graph.def $(TCLSCRIPTS) \
+ debian/rules debian/control debian/copyright debian/changelog
distdir: $(DISTFILES)
$(RM) -rf $(DISTDIR)
- mkdir $(DISTDIR)
- for i in $(DISTFILES); do ln -s ../$$i $(DISTDIR); done
+ mkdir $(DISTDIR) $(DISTDIR)/debian
+ for i in $(DISTFILES); do \
+ case $$i in \
+ */*) \
+ dir=$${i%/*}; \
+ up=`echo $$dir | sed 's:[^/]\+:..:g'`; \
+ mkdir -p $(DISTDIR)/$$dir;; \
+ *) dir= up=;; \
+ esac; \
+ ln -s ../$$up/$$i $(DISTDIR)/$$i; \
+ done
disttar: distdir
- tar chofz $(DISTDIR).tar.gz $(DISTDIR)
+ tar chofz $(INST)$(DISTDIR).tar.gz $(DISTDIR)
distzip: distdir
- cd $(DISTDIR) && zip -rq ../$(DISTDIR).zip .
+ cd $(DISTDIR) && zip -rq ../$(INST)$(DISTDIR).zip .
dist: disttar distzip
$(RM) -rf $(DISTDIR)
distcheck: dist
--- /dev/null
+files tmp substvars *.substvars *.debhelper
+rocl
--- /dev/null
+rocl (1.1.4) experimental; urgency=low
+
+ * Debianization!
+
+ -- Mark Wooding <mdw@nsict.org> Tue, 11 Nov 2003 21:07:29 +0000
--- /dev/null
+Source: rocl
+Section: games
+Priority: extra
+Maintainer: Mark Wooding <mdw@nsict.org>
+Build-Depends: tcl8.3, tcl8.3-dev
+Standards-Version: 3.1.1
+
+Package: rocl
+Architecture: any
+Depends: tcl8.3, tk8.3, ${shlibs:Depends}
+Description: Elite tools for the discerning player
+ Right On Command Line is a collection of tools, written in Tcl with
+ some C extensions, for analysing the Elite universe and editing
+ original BBC version commander files, as also used by Elite: The New
+ Kind by Christian Pinder.
+
--- /dev/null
+ROCL is copyright (c) 2003 Straylight/Edgeware.
+
+ROCL 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.
+
+ROCL 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
+
+export DH_COMPAT = 4
+
+build:
+ rm -f build
+ make INCLUDES=-I/usr/include/tcl8.3 prefix=/usr
+ touch build
+
+clean:
+ dh_clean
+ make clean
+ rm -f build
+
+install: build
+ dh_clean
+ make install prefix=/usr INST=`pwd`/debian/rocl
+
+binary-arch: install
+ dh_testdir -a
+ dh_testroot -a
+ dh_installdocs -a README
+ dh_compress -a
+ dh_strip -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary-indep:
+
+binary: binary-indep binary-arch
+
+source:
+ rm -rf =inst=
+ mkdir -p =inst=/=deb=
+ make dist INST==inst=/
+ cd =inst=/=deb=; tar xvfz ../*.tar.gz
+ d=`pwd`; cd ..; dpkg-source -i -b $$d/=inst=/=deb=/*
+ rm -rf =inst=
+
+.PHONY: binary binary-arch binary-indep clean install source