## @file
##
## $Id$
##
## $Date$
## $Author$
##
## @copy © Marc Wäckerlin
## @license LGPL, see file <a href="license.html">COPYING</a>
##
## $Log$
## Revision 1.18 2005/02/18 16:19:13 marc
## Also build source RPM
## No more install RPMs after build
## Added dynamiclibrary.hpp
##
## Revision 1.17 2005/02/08 12:34:14 marc
## added errno / unix_error
##
## Revision 1.16 2005/01/07 00:37:10 marc
## config file handler and file
##
## Revision 1.15 2004/12/17 16:30:06 marc
## added tokenizer
##
## Revision 1.14 2004/12/14 20:22:42 marc
## added regexp
##
## Revision 1.13 2004/10/11 18:33:53 marc
## add stdext.hpp
##
## Revision 1.12 2004/10/07 17:25:40 marc
## make rpm also installs the new rpm (to check whether this is possible)
##
## Revision 1.11 2004/10/07 16:12:52 marc
## a backslash too much
##
## Revision 1.10 2004/10/07 16:01:03 marc
## new headers missing in installation
##
## Revision 1.9 2004/10/07 13:41:16 marc
## devel in the same spec file
##
## Revision 1.8 2004/09/09 20:09:06 marc
## library versioning now works how i want it
##
## Revision 1.7 2004/08/31 16:22:29 marc
## webserver now depends on tag and rpm
## added .PHONY
##
## Revision 1.6 2004/08/28 16:21:07 marc
## mrw-c++-0.92 (mrw)
## - new file: version.cpp
## - new file header for all sources
## - work around warning in mrw::auto<T>
## - possibility to compile without log4cxx
## - work around bugs in demangle.h and libiberty.h
## - corrections in documentation
## - added simple tracing mechanism
## - more warnings
## - small corrections in Auto<>::Free and a new test for it
## - possibility to compile without stack trace
##
SUBDIRS = mrw
EXTRA_DIST = bootstrap.sh
nobase_include_HEADERS = mrw/arg.hpp mrw/list.hpp \
mrw/simpletrace.hpp mrw/unistd.hpp \
mrw/auto.hpp mrw/map.hpp \
mrw/smartpointer.hpp mrw/vector.hpp \
mrw/deque.hpp mrw/multimap.hpp \
mrw/stacktrace.hpp \
mrw/exception.hpp mrw/multiset.hpp mrw/stdext.hpp \
mrw/exec.hpp mrw/set.hpp mrw/string.hpp \
mrw/regexp.hpp mrw/tokenizer.hpp \
mrw/configfile.hpp mrw/file.hpp mrw/errno.hpp \
mrw/dynamiclibrary.hpp
infosdir = ${pkgdatadir}
infos_DATA = AUTHORS NEWS README COPYING INSTALL ChangeLog \
@PACKAGENAME@.spec
RPMS = /usr/src/packages/RPMS/i586/@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@-1.i586.rpm \
/usr/src/packages/RPMS/i586/@PACKAGENAME@-devel-@MAJOR@.@MINOR@.@LEAST@-1.i586.rpm \
/usr/src/packages/SRPMS/@PACKAGENAME@-devel-@MAJOR@.@MINOR@.@LEAST@-1.src.rpm
.PHONY: release tag rpm webserver distclean-local
release: rpm tag webserver
tag:
cvs ci -R .
cvs tag -FR REL_@PACKAGENAME@-@MAJOR@-@MINOR@-@LEAST@ .
rpm: dist
cp @PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.tar.gz /usr/src/packages/SOURCES/
rpmbuild -ba --clean @PACKAGENAME@.spec
webserver: check tag all check dist rpm
ssh root@waeckerlin.org bash -c \
'"rm -r /home/marc/mrw-c++; mkdir -p /home/marc/mrw-c++"'
scp mrw/doc/html/* \
mrw/doc/latex/@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.pdf \
@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.tar.gz \
${RPMS} \
root@waeckerlin.org:/home/marc/mrw-c++/
distclean-local:
- find . -name '*~' | xargs rm
- rm -r autom4te.cache
- rm aclocal.m4 config.guess config.sub configure \
depcomp install-sh ltmain.sh makefile makefile.in \
missing mkinstalldirs