parent
747d6eb01f
commit
508db73cfc
16 changed files with 169 additions and 11 deletions
@ -0,0 +1 @@ |
|||||||
|
Marc Wäckerlin (http://marc.waeckerlin.org) <marc@waeckerlin.org> |
@ -0,0 +1,19 @@ |
|||||||
|
#! /bin/sh |
||||||
|
|
||||||
|
## @file |
||||||
|
## |
||||||
|
## $Id: bootstrap.sh 2 2009-06-16 13:20:59Z $ |
||||||
|
## |
||||||
|
## $Date: 2004/08/31 15:57:19 $ |
||||||
|
## $Author: marc $ |
||||||
|
## |
||||||
|
## @copy © Marc Wäckerlin |
||||||
|
## @license LGPL, see file <a href="license.html">COPYING</a> |
||||||
|
## |
||||||
|
## $Log: bootstrap.sh,v $ |
||||||
|
## Revision 1.3 2004/08/31 15:57:19 marc |
||||||
|
## added file header |
||||||
|
## |
||||||
|
|
||||||
|
test -f makefile && make distclean |
||||||
|
aclocal && libtoolize --force && automake -a && autoconf |
@ -0,0 +1,43 @@ |
|||||||
|
## @id $Id$ |
||||||
|
|
||||||
|
## 1 2 3 4 5 6 7 8 |
||||||
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890 |
||||||
|
|
||||||
|
AC_INIT(webtester, 1.0.m4_esyscmd_s( |
||||||
|
LEAST="ERROR-UNDEFINED-REVISION-to-be-built-in-subdirectory-of-svn-checkout" |
||||||
|
for path in . .. ../..; do |
||||||
|
if svn info $path 2>&1 > /dev/null; then |
||||||
|
LEAST=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p') |
||||||
|
(cd $path && svn2cl) |
||||||
|
break; |
||||||
|
fi |
||||||
|
done |
||||||
|
echo -n $LEAST |
||||||
|
)) |
||||||
|
|
||||||
|
AM_INIT_AUTOMAKE([1.9 tar-pax]) |
||||||
|
|
||||||
|
AC_CONFIG_FILES(makefile src/makefile debian/changelog debian/control) |
||||||
|
|
||||||
|
AC_PROG_CXX |
||||||
|
AC_PROG_CC |
||||||
|
|
||||||
|
README=$(tail -n +3 README) |
||||||
|
README_DEB=$(tail -n +3 README | sed -e 's/^$/./g' -e 's/^/ /g') |
||||||
|
DESCRIPTION=$(head -1 README) |
||||||
|
AUTHOR=$(head -1 AUTHORS) |
||||||
|
AC_SUBST(AUTHOR) |
||||||
|
_AM_SUBST_NOTMAKE([AUTHOR]) |
||||||
|
AC_SUBST(DESCRIPTION) |
||||||
|
_AM_SUBST_NOTMAKE([DESCRIPTION]) |
||||||
|
AC_SUBST(README) |
||||||
|
_AM_SUBST_NOTMAKE([README]) |
||||||
|
AC_SUBST(README_DEB) |
||||||
|
_AM_SUBST_NOTMAKE([README_DEB]) |
||||||
|
DISTRO=$(lsb_release -sc) |
||||||
|
AC_SUBST(DISTRO) |
||||||
|
BUILD_NUMBER=${BUILD_NUMBER:-1} |
||||||
|
AC_SUBST(BUILD_NUMBER) |
||||||
|
BUILD_DATE=$(date -R) |
||||||
|
AC_SUBST(BUILD_DATE) |
||||||
|
AC_OUTPUT |
@ -0,0 +1,5 @@ |
|||||||
|
@PACKAGE@ (@VERSION@~@DISTRO@.@BUILD_NUMBER@) @DISTRO@; urgency=low |
||||||
|
|
||||||
|
* Please see https://dev.marc.waeckerlin.org/redmine/@PROJECT_NAME@ |
||||||
|
|
||||||
|
-- @AUTHOR@ @BUILD_DATE@ |
@ -0,0 +1 @@ |
|||||||
|
8 |
@ -0,0 +1,13 @@ |
|||||||
|
Source: @PACKAGE_NAME@ |
||||||
|
Section: devel |
||||||
|
Priority: extra |
||||||
|
Maintainer: @AUTHOR@ |
||||||
|
Build-Depends: debhelper (>= 8.0.0), autotools-dev, subversion-tools, lsb-release |
||||||
|
Standards-Version: 3.9.2 |
||||||
|
Homepage: https://dev.marc.waeckerlin.org/redmine/@PACKAGE_NAME@ |
||||||
|
|
||||||
|
Package: @PACKAGE_NAME@ |
||||||
|
Architecture: any |
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends} |
||||||
|
Description: @DESCRIPTION@ |
||||||
|
@README_DEB@ |
@ -0,0 +1,2 @@ |
|||||||
|
NEWS |
||||||
|
README |
@ -0,0 +1,13 @@ |
|||||||
|
#!/usr/bin/make -f |
||||||
|
# -*- makefile -*- |
||||||
|
# Sample debian/rules that uses debhelper. |
||||||
|
# This file was originally written by Joey Hess and Craig Small. |
||||||
|
# As a special exception, when this file is copied by dh-make into a |
||||||
|
# dh-make output file, you may use that output file without restriction. |
||||||
|
# This special exception was added by Craig Small in version 0.37 of dh-make. |
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode. |
||||||
|
#export DH_VERBOSE=1 |
||||||
|
|
||||||
|
%: |
||||||
|
dh $@ |
@ -0,0 +1,38 @@ |
|||||||
|
## @id $Id$ |
||||||
|
|
||||||
|
## 1 2 3 4 5 6 7 8 |
||||||
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890 |
||||||
|
|
||||||
|
SUBDIRS = src |
||||||
|
|
||||||
|
doc_DATA = AUTHORS COPYING ChangeLog NEWS README INSTALL |
||||||
|
|
||||||
|
EXTRA_DIST = bootstrap.sh debian |
||||||
|
|
||||||
|
DISTCLEANFILES = debian/changelog |
||||||
|
|
||||||
|
doc_DATA = AUTHORS NEWS README COPYING INSTALL ChangeLog |
||||||
|
#@PACKAGE_NAME@.spec |
||||||
|
|
||||||
|
deb: dist |
||||||
|
tar xzvf @PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.gz |
||||||
|
cd @PACKAGE_TARNAME@-@PACKAGE_VERSION@ && dpkg-buildpackage |
||||||
|
rm -rf @PACKAGE_TARNAME@-@PACKAGE_VERSION@ |
||||||
|
|
||||||
|
#rpm: dist |
||||||
|
# rpmbuild -ba \ |
||||||
|
# --define "_topdir $$(pwd)" \ |
||||||
|
# --define "_sourcedir $$(pwd)" \ |
||||||
|
# @PACKAGE_NAME@.spec |
||||||
|
|
||||||
|
MAINTAINERCLEANFILES = debian/control aclocal.m4 compile \ |
||||||
|
configure install-sh ltmain.sh makefile.in \ |
||||||
|
missing |
||||||
|
|
||||||
|
CLEANFILES = @PACKAGE_TARNAME@-@PACKAGE-VERSION@.tar.gz \ |
||||||
|
@PACKAGE_TARNAME@_@PACKAGE_VERSION@~@DISTRO@.@BUILD_NUMBER@.dsc \ |
||||||
|
@PACKAGE_TARNAME@_@PACKAGE_VERSION@~@DISTRO@.@BUILD_NUMBER@.tar.gz \ |
||||||
|
@PACKAGE_TARNAME@_@PACKAGE_VERSION@~@DISTRO@.@BUILD_NUMBER@_*.deb \ |
||||||
|
@PACKAGE_TARNAME@_@PACKAGE_VERSION@~@DISTRO@.@BUILD_NUMBER@_*.changes |
||||||
|
|
||||||
|
.PHONY: dep rpm |
@ -1,11 +0,0 @@ |
|||||||
all: make-webrunner make-webtester |
|
||||||
clean: clean-webrunner clean-webtester |
|
||||||
|
|
||||||
makefile-%: |
|
||||||
qmake -o $@ -config debug -config ${@:makefile-%=%}
|
|
||||||
|
|
||||||
make-%: makefile-% |
|
||||||
make -f ${<}
|
|
||||||
|
|
||||||
clean-%: makefile-% |
|
||||||
make -f ${<} clean
|
|
@ -0,0 +1,28 @@ |
|||||||
|
## @id $Id$ |
||||||
|
|
||||||
|
## 1 2 3 4 5 6 7 8 |
||||||
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890 |
||||||
|
|
||||||
|
bin_SCRIPTS = webrunner webtester |
||||||
|
BUILT_SOURCES = ${bin_SCRIPTS:%=makefile.%} |
||||||
|
EXTRA_DIST = *.[ch]xx *.ui @PACKAGE_NAME@.pro |
||||||
|
|
||||||
|
clean-local: ${bin_SCRIPTS:%=clean.%} |
||||||
|
|
||||||
|
webrunner: make.webrunner |
||||||
|
webtester: make.webtester |
||||||
|
|
||||||
|
makefile.%: |
||||||
|
qmake -o $@ -config debug -config ${@:makefile.%=%} |
||||||
|
|
||||||
|
make.%: makefile.% |
||||||
|
make -f ${<} |
||||||
|
|
||||||
|
clean.%: makefile.% |
||||||
|
make -f ${<} clean |
||||||
|
|
||||||
|
CLEANFILES = ${bin_SCRIPTS} |
||||||
|
DISTCLEANFILES = ${BUILT_SOURCES} |
||||||
|
MAINTAINERCLEANFILES = makefile.in |
||||||
|
|
||||||
|
.PHONY: make.* clean.* |
Loading…
Reference in new issue