--- tmake-1.8.orig/bin/tmake
+++ tmake-1.8/bin/tmake
@@ -66,7 +66,7 @@
%project = ();
$eval_quit = 0;
-$project{"TMAKEPATH"} = $ENV{"TMAKEPATH"} . ";" . $ENV{"HOME"} . "/.tmake/";
+$project{"TMAKEPATH"} = $ENV{"TMAKEPATH"} . ";" . $ENV{"HOME"} . "/.tmake/" . ";/etc/tmake/" ;
while ( @ARGV ) { # parse command line args
$_ = shift @ARGV;
--- tmake-1.8.orig/doc/index.html
+++ tmake-1.8/doc/index.html
@@ -0,0 +1,20 @@
+
+
+
+tmake - Table of Contents
+
+
+tmake
+Table of Contents:
+
+
+Index created for Debian, Fri, 12 Jan 2001 17:27:59 -0600, by Dwayne C. Litzenberger. This file is in the public
+domain.
+
+
--- tmake-1.8.orig/lib/linux-g++/tmake.conf
+++ tmake-1.8/lib/linux-g++/tmake.conf
@@ -8,6 +8,7 @@
TEMPLATE = app
CONFIG = qt warn_on release
+TMAKE_QTDIR = /usr
TMAKE_CC = gcc
TMAKE_CFLAGS = -pipe
TMAKE_CFLAGS_WARN_ON = -Wall -W
@@ -32,7 +33,7 @@
TMAKE_LIBDIR =
TMAKE_INCDIR_X11 = /usr/X11R6/include
TMAKE_LIBDIR_X11 = /usr/X11R6/lib
-TMAKE_INCDIR_QT = $(QTDIR)/include
+TMAKE_INCDIR_QT = $(QTDIR)/include/qt
TMAKE_LIBDIR_QT = $(QTDIR)/lib
TMAKE_INCDIR_OPENGL = /usr/X11R6/include
TMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
--- tmake-1.8.orig/lib/linux-g++/tmake-alpha.conf
+++ tmake-1.8/lib/linux-g++/tmake-alpha.conf
@@ -0,0 +1,66 @@
+#
+# $Id: tmake.conf,v 1.17 1999/11/05 23:19:20 hanord Exp $
+#
+# tmake configuration for linux-g++
+#
+
+MAKEFILE_GENERATOR = UNIX
+TEMPLATE = app
+CONFIG = qt warn_on release
+
+TMAKE_QTDIR = /usr
+TMAKE_CC = gcc
+TMAKE_CFLAGS = -pipe
+TMAKE_CFLAGS_WARN_ON = -Wall -W
+TMAKE_CFLAGS_WARN_OFF =
+TMAKE_CFLAGS_RELEASE = -O0 -mieee
+TMAKE_CFLAGS_DEBUG = -g
+TMAKE_CFLAGS_SHLIB = -fPIC
+TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
+TMAKE_CFLAGS_THREAD = -D_REENTRANT
+
+TMAKE_CXX = g++
+TMAKE_CXXFLAGS = $$TMAKE_CFLAGS
+TMAKE_CXXFLAGS_WARN_ON = $$TMAKE_CFLAGS_WARN_ON
+TMAKE_CXXFLAGS_WARN_OFF = $$TMAKE_CFLAGS_WARN_OFF
+TMAKE_CXXFLAGS_RELEASE = $$TMAKE_CFLAGS_RELEASE
+TMAKE_CXXFLAGS_DEBUG = $$TMAKE_CFLAGS_DEBUG
+TMAKE_CXXFLAGS_SHLIB = $$TMAKE_CFLAGS_SHLIB
+TMAKE_CXXFLAGS_YACC = $$TMAKE_CFLAGS_YACC
+TMAKE_CXXFLAGS_THREAD = $$TMAKE_CFLAGS_THREAD
+
+TMAKE_INCDIR =
+TMAKE_LIBDIR =
+TMAKE_INCDIR_X11 = /usr/X11R6/include
+TMAKE_LIBDIR_X11 = /usr/X11R6/lib
+TMAKE_INCDIR_QT = $(QTDIR)/include/qt
+TMAKE_LIBDIR_QT = $(QTDIR)/lib
+TMAKE_INCDIR_OPENGL = /usr/X11R6/include
+TMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
+
+TMAKE_LINK = g++
+TMAKE_LINK_SHLIB = g++
+TMAKE_LFLAGS =
+TMAKE_LFLAGS_RELEASE =
+TMAKE_LFLAGS_DEBUG =
+TMAKE_LFLAGS_SHLIB = -shared
+TMAKE_LFLAGS_SONAME = -Wl,-soname,
+TMAKE_LFLAGS_THREAD =
+TMAKE_RPATH = -Wl,-rpath,
+
+TMAKE_LIBS =
+TMAKE_LIBS_X11 = -lXext -lX11 -lm
+TMAKE_LIBS_X11SM = -lICE -lSM
+TMAKE_LIBS_QT = -lqt
+TMAKE_LIBS_QT_THREAD = -lqt-mt
+TMAKE_LIBS_OPENGL = -lGLU -lGL -lXmu
+TMAKE_LIBS_THREAD = -lpthread
+
+TMAKE_MOC = $(QTDIR)/bin/moc
+TMAKE_UIC = $(QTDIR)/bin/uic
+
+TMAKE_AR = ar cqs
+TMAKE_RANLIB =
+
+TMAKE_TAR = tar -cf
+TMAKE_GZIP = gzip -9f
--- tmake-1.8.orig/lib/unix/generic.t
+++ tmake-1.8/lib/unix/generic.t
@@ -1,3 +1,4 @@
+
#!
#! This is a tmake template for building UNIX applications or libraries.
#!
@@ -205,6 +206,7 @@
####### Compiler, tools and options
+QTDIR = #$ Expand("TMAKE_QTDIR");
CC = #$ Expand("TMAKE_CC");
CXX = #$ Expand("TMAKE_CXX");
CFLAGS = #$ Expand("TMAKE_CFLAGS"); ExpandGlue("DEFINES","-D"," -D","");
--- tmake-1.8.orig/debian/dirs
+++ tmake-1.8/debian/dirs
@@ -0,0 +1,3 @@
+etc/tmake/
+usr/bin/
+usr/share/doc/tmake/
--- tmake-1.8.orig/debian/docs
+++ tmake-1.8/debian/docs
@@ -0,0 +1,2 @@
+README
+html/
--- tmake-1.8.orig/debian/rules
+++ tmake-1.8/debian/rules
@@ -0,0 +1,106 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=3
+
+ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add here commands to compile the package.
+ #$(MAKE)
+ #/usr/bin/docbook-to-man debian/tmake.sgml > tmake.1
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ rm -f `find html -type l`
+ rm -f debian/conffiles
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmake.
+
+ rm -f `find html -type l`
+ ln -sf doc html
+
+ cp -a bin/* debian/tmake/usr/bin/
+ rm -f debian/tmake/usr/bin/tmake_win
+ cp -a lib debian/tmake/usr/share/tmake
+ cp -a lib/unix/* debian/tmake/etc/tmake/
+ifeq ($(ARCH),alpha)
+ cp -a lib/linux-g++/tmake-alpha.conf debian/tmake/etc/tmake/tmake.conf
+else
+ cp -a lib/linux-g++/tmake.conf debian/tmake/etc/tmake/
+endif
+ # tmake comes with some weird permissions
+ chmod 755 `find debian/tmake/ -type d`
+ chmod 644 `find debian/tmake/ -type f`
+ chmod 755 debian/tmake/usr/bin/*
+
+ # Generate debian/conffiles
+ # find debian/tmake/etc/tmake/ \! -type d | sed -e 's/^debian\/tmake//' >debian/conffiles
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# dh_testversion
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs
+ dh_installexamples example/*
+# dh_installmenu
+# dh_installemacsen
+# dh_installpam
+# dh_installinit
+# dh_installcron
+ dh_installmanpages
+# dh_installinfo
+# dh_undocumented
+ dh_installchangelogs CHANGES
+# dh_link
+# dh_strip
+ dh_compress
+ dh_fixperms
+ # You may want to make some executables suid here.
+# dh_suidregister
+# dh_makeshlibs
+ dh_installdeb
+ dh_perl
+# dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- tmake-1.8.orig/debian/copyright
+++ tmake-1.8/debian/copyright
@@ -0,0 +1,21 @@
+This package was debianized by Dwayne Litzenberger on
+Sat, 16 Dec 2000 23:26:44 -0600.
+
+It has been adopted by Jan Niehusmann on
+Fri Dec 7 20:17:10 CET 2001.
+
+It was downloaded from ftp://ftp.trolltech.com/freebies/tmake/
+
+Upstream Author: TrollTech
+
+Copyright:
+
+ License Statement for tmake
+
+Copyright (C) 1996-2000 by Troll Tech AS. All rights reserved.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted, provided
+that this copyright notice appears in all copies.
+No representations are made about the suitability of this software for any
+purpose. It is provided "as is" without express or implied warranty.
--- tmake-1.8.orig/debian/control
+++ tmake-1.8/debian/control
@@ -0,0 +1,20 @@
+Source: tmake
+Section: devel
+Priority: optional
+Maintainer: Jan Niehusmann
+Build-Depends: debhelper (>> 3.0.0)
+Standards-Version: 3.5.6
+
+Package: tmake
+Architecture: any
+Depends: ${perl:Depends}
+Suggests: libqt-dev
+Description: a cross-platform makefile tool
+ tmake is an easy-to-use tool from Trolltech to create and maintain makefiles
+ for software projects. It can be a painful task to manage makefiles
+ manually, especially if you develop for more than one platform or use more
+ than one compiler. tmake automates and streamlines this process and lets you
+ spend your valuable time on writing code, not makefiles.
+ .
+ tmake is mainly used to generate makefiles for applications that use the Qt
+ toolkit.
--- tmake-1.8.orig/debian/changelog
+++ tmake-1.8/debian/changelog
@@ -0,0 +1,72 @@
+tmake (1.8-1.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Remove trailing slash in copy of directory (Closes: #341011).
+
+ -- Luk Claes Mon, 2 Jan 2006 15:47:53 +0100
+
+tmake (1.8-1) unstable; urgency=low
+
+ * New upstream release
+ * Include lib files in /usr/share/tmake, for crosscompiling etc.
+
+ -- Jan Niehusmann Mon, 30 Dec 2002 13:48:04 +0100
+
+tmake (1.7-6) unstable; urgency=low
+
+ * Change maintainer to Jan Niehusmann (Closes: #121914)
+ * Changed to Architecture: any, to really fix #121782 and #121869.
+ The previous fix didn't work because of Architecture: all
+
+ -- Jan Niehusmann Fri, 7 Dec 2001 20:05:54 +0100
+
+tmake (1.7-5) unstable; urgency=low
+
+ * Change maintainer to Debian QA
+ * Provide a alpha specific tmake.conf file so we can use different
+ CXXFLAGS/CFLAGS so packages build properly. (Closes: #121782,#121869)
+ * Cleanup lintian errors
+
+ -- Ivan E. Moore II Fri, 30 Nov 2001 13:00:06 -0700
+
+tmake (1.7-4) unstable; urgency=low
+
+ * Upload sponsored by Ralf Treinen
+ * Fixed Suggests: from the obsolete libqt2.2-dev to libqt-dev
+ (Closes: #89793).
+
+ -- Dwayne C. Litzenberger Wed, 21 Mar 2001 14:44:06 -0600
+
+tmake (1.7-3) unstable; urgency=low
+
+ * Upload sponsored by Ralf Treinen
+ * Changed tmake.conf to reflect migration of libqt2 from /usr/lib/qt2 to
+ /usr (Closes: #89442).
+
+ -- Dwayne C. Litzenberger Mon, 12 Mar 2001 16:20:10 -0600
+
+tmake (1.7-2) unstable; urgency=low
+
+ * Upload sponsored by Ralf Treinen
+ * Changed Suggests: from libqt2-dev to libqt2.2-dev in debian/control.
+ (Closes: #83837).
+ * Closing wnpp entry: (Closes: #82065)
+ * Fixed minor tmake(1) manpage error.
+
+ -- Dwayne C. Litzenberger Sun, 28 Jan 2001 12:34:15 -0600
+
+tmake (1.7-0.4) unstable; urgency=low
+
+ * Upload sponsored by Ralf Treinen
+ * New upstream release
+ * Fixed doc-base/dhelp problems. Created an index.html.
+ * Created proper man pages.
+ * Some minor cosmetic changes.
+
+ -- Dwayne Litzenberger Fri, 12 Jan 2001 21:43:51 -0600
+
+tmake (1.6-1) unstable; urgency=low
+
+ * Initial Package. Not actually released.
+
+ -- Dwayne Litzenberger Sun, 17 Dec 2000 16:09:03 -0600
--- tmake-1.8.orig/debian/watch
+++ tmake-1.8/debian/watch
@@ -0,0 +1,5 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site Directory Pattern Version Script
+ftp://ftp.trolltech.com /freebies/tmake tmake-(.*)\.tar\.gz debian uupdate
--- tmake-1.8.orig/debian/tmake.1
+++ tmake-1.8/debian/tmake.1
@@ -0,0 +1,77 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH TMAKE 1 "January 12, 2000"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+tmake \- create and maintain makefiles for software projects
+.SH SYNOPSIS
+.B tmake
+.RB [\|
+.I options
+.RB \|]
+.I "project files or project settings"
+.SH DESCRIPTION
+This manual page documents briefly the
+.B tmake
+command.
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+Instead, it has documentation in HTML format; see below.
+.PP
+\fBtmake\fP is an easy-to-use tool from Troll Tech to create and maintain
+makefiles for software projects. It can be a painful task to manage makefiles
+manually, especially if you develop for more than one platform or use more
+than one compiler. \fBtmake\fP automates and streamlines this process and lets
+you spend your valuable time on writing code, not makefiles.
+.SH OPTIONS
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.BI \-e \ expr
+Evaluate the Perl expression. Ignores the template file.
+.TP
+.BI \-nodepend
+Don't generate dependency information.
+.TP
+.BI \-o \ file
+Write output to \fIfile\fP instead of stdout.
+.TP
+.BI \-t \ file
+Specify a template \fIfile\fP.
+.TP
+.BI \-unix
+Force tmake into Unix mode.
+.TP
+.BI \-v
+Verbose/debugging on.
+.TP
+.BI \-win32
+Force tmake into Win32 mode.
+.TP
+The \fB-t\fP option overrides any \fBTEMPLATE\fP variable in the project file.
+.PP
+The default project file extension is ".pro". The default template file
+extension is ".t". If you do not specify these extension tmake will
+automatically add them for you.
+.SH SEE ALSO
+The full documentation for \fBtmake\fP is maintained as an HTML manual, located
+in \fI/usr/share/doc/tmake/html/\fP, and is available through
+.BR dhelp "(1),"
+Debian's help system.
+.SH AUTHOR
+This manual page was written by Dwayne C. Litzenberger ,
+for the Debian GNU/Linux system (but may be used by others).
--- tmake-1.8.orig/debian/progen.1
+++ tmake-1.8/debian/progen.1
@@ -0,0 +1,72 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH PROGEN 1 "January 12, 2000"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+progen \- create project files for \fBtmake\fP(1)
+.SH SYNOPSIS
+.B progen
+.RI [ options ]\|
+.RI [ "C/C++ header/source files" ]
+.SH DESCRIPTION
+This manual page documents briefly the
+.B progen
+command.
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+Instead, it has documentation in HTML format; see below.
+.PP
+The
+.BR progen (1)
+utility creates
+.BR tmake (1)
+project files.
+.SH OPTIONS
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.BI \-lower
+Lower-case letters in filenames (useful on Windows).
+.TP
+.BI \-n \ name
+Specify a project name (\fBTARGET\fP).
+.TP
+.BI \-o \ file
+Write output to \fIfile\fP instead of stdout.
+.TP
+.BI \-t \ file
+Specify a template \fIfile\fP.
+.SH EXAMPLE
+.PP
+The
+.BR progen (1)
+utility can be used like this:
+
+.RS
+\fBprogen\fP -n hello -o hello.pro
+.RE
+.PP
+If no .cpp or .h files are specified on the command line, \fBprogen\fP(1)
+searches for .cpp and .h (except moc_*.cpp) in the current directory and below.
+.SH SEE ALSO
+The full documentation for \fBprogen\fP is maintained as an HTML manual, located
+in \fI/usr/share/doc/tmake/html/\fP, and is available through
+.BR dhelp "(1),"
+Debian's help system.
+.SH AUTHOR
+This manual page was written by Dwayne C. Litzenberger ,
+for the Debian GNU/Linux system (but may be used by others).
--- tmake-1.8.orig/debian/doc-base
+++ tmake-1.8/debian/doc-base
@@ -0,0 +1,12 @@
+Document: tmake
+Title: tmake Documentation
+Author: Haavard Nord
+Abstract: This manual describes tmake: an easy-to-use tool for creating and
+ maintaining makefiles across many platforms and compilers.
+Section: programming
+
+Format: HTML
+Index: /usr/share/doc/tmake/html/index.html
+Files: /usr/share/doc/tmake/html/*.html
+
+