2004-08-28 16:21:25 +00:00
|
|
|
## @file
|
|
|
|
##
|
|
|
|
## $Id$
|
|
|
|
##
|
|
|
|
## $Date$
|
|
|
|
## $Author$
|
|
|
|
##
|
|
|
|
## @copy © Marc Wäckerlin
|
|
|
|
## @license LGPL, see file <a href="license.html">COPYING</a>
|
|
|
|
##
|
|
|
|
## $Log$
|
2005-02-08 12:34:14 +00:00
|
|
|
## Revision 1.17 2005/02/08 12:34:14 marc
|
|
|
|
## added errno / unix_error
|
|
|
|
##
|
2005-01-07 00:37:10 +00:00
|
|
|
## Revision 1.16 2005/01/07 00:37:10 marc
|
|
|
|
## config file handler and file
|
|
|
|
##
|
2004-12-17 16:30:06 +00:00
|
|
|
## Revision 1.15 2004/12/17 16:30:06 marc
|
|
|
|
## added tokenizer
|
|
|
|
##
|
2004-12-14 20:22:42 +00:00
|
|
|
## Revision 1.14 2004/12/14 20:22:42 marc
|
|
|
|
## added regexp
|
|
|
|
##
|
2004-10-11 18:33:53 +00:00
|
|
|
## Revision 1.13 2004/10/11 18:33:53 marc
|
|
|
|
## add stdext.hpp
|
|
|
|
##
|
2004-10-07 17:25:40 +00:00
|
|
|
## Revision 1.12 2004/10/07 17:25:40 marc
|
|
|
|
## make rpm also installs the new rpm (to check whether this is possible)
|
|
|
|
##
|
2004-10-07 16:12:52 +00:00
|
|
|
## Revision 1.11 2004/10/07 16:12:52 marc
|
|
|
|
## a backslash too much
|
|
|
|
##
|
2004-10-07 16:01:03 +00:00
|
|
|
## Revision 1.10 2004/10/07 16:01:03 marc
|
|
|
|
## new headers missing in installation
|
|
|
|
##
|
2004-10-07 13:41:16 +00:00
|
|
|
## Revision 1.9 2004/10/07 13:41:16 marc
|
|
|
|
## devel in the same spec file
|
|
|
|
##
|
2004-09-09 20:09:06 +00:00
|
|
|
## Revision 1.8 2004/09/09 20:09:06 marc
|
|
|
|
## library versioning now works how i want it
|
|
|
|
##
|
2004-08-31 16:22:29 +00:00
|
|
|
## Revision 1.7 2004/08/31 16:22:29 marc
|
|
|
|
## webserver now depends on tag and rpm
|
|
|
|
## added .PHONY
|
|
|
|
##
|
2004-08-28 16:21:25 +00:00
|
|
|
## 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
|
|
|
|
##
|
|
|
|
|
2004-04-21 06:39:20 +00:00
|
|
|
SUBDIRS = mrw
|
2004-04-21 19:03:38 +00:00
|
|
|
|
2004-04-27 20:26:50 +00:00
|
|
|
EXTRA_DIST = bootstrap.sh
|
|
|
|
|
2004-12-14 20:22:42 +00:00
|
|
|
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 \
|
2004-10-11 18:33:53 +00:00
|
|
|
mrw/exception.hpp mrw/multiset.hpp mrw/stdext.hpp \
|
2004-12-14 20:22:42 +00:00
|
|
|
mrw/exec.hpp mrw/set.hpp mrw/string.hpp \
|
2005-01-07 00:37:10 +00:00
|
|
|
mrw/regexp.hpp mrw/tokenizer.hpp \
|
2005-02-08 12:34:14 +00:00
|
|
|
mrw/configfile.hpp mrw/file.hpp mrw/errno.hpp
|
2004-04-23 16:03:29 +00:00
|
|
|
infosdir = ${pkgdatadir}
|
|
|
|
infos_DATA = AUTHORS NEWS README COPYING INSTALL ChangeLog \
|
2004-10-07 13:41:16 +00:00
|
|
|
@PACKAGENAME@.spec
|
2004-04-21 19:03:38 +00:00
|
|
|
|
2004-09-09 20:09:06 +00:00
|
|
|
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
|
2004-04-23 16:03:29 +00:00
|
|
|
|
2004-08-31 16:22:29 +00:00
|
|
|
.PHONY: release tag rpm webserver distclean-local
|
|
|
|
|
2004-08-28 16:21:25 +00:00
|
|
|
release: rpm tag webserver
|
|
|
|
|
|
|
|
tag:
|
|
|
|
cvs ci -R .
|
2004-09-09 20:09:06 +00:00
|
|
|
cvs tag -FR REL_@PACKAGENAME@-@MAJOR@-@MINOR@-@LEAST@ .
|
2004-08-28 16:21:25 +00:00
|
|
|
|
2004-04-23 16:03:29 +00:00
|
|
|
rpm: dist
|
2004-10-07 13:41:16 +00:00
|
|
|
cp @PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.tar.gz /usr/src/packages/SOURCES/
|
2004-04-23 16:03:29 +00:00
|
|
|
rpmbuild -bb --clean @PACKAGENAME@.spec
|
2004-10-07 17:25:40 +00:00
|
|
|
rpm -Uvh ${RPMS}
|
2004-04-23 16:03:29 +00:00
|
|
|
|
2004-08-31 16:22:29 +00:00
|
|
|
webserver: check tag all check dist rpm
|
2004-08-28 16:21:25 +00:00
|
|
|
ssh root@waeckerlin.org bash -c \
|
|
|
|
'"rm -r /home/marc/mrw-c++; mkdir -p /home/marc/mrw-c++"'
|
2004-04-23 16:03:29 +00:00
|
|
|
scp mrw/doc/html/* \
|
2004-09-09 20:09:06 +00:00
|
|
|
mrw/doc/latex/@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.pdf \
|
|
|
|
@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.tar.gz \
|
2004-04-23 16:03:29 +00:00
|
|
|
${RPMS} \
|
|
|
|
root@waeckerlin.org:/home/marc/mrw-c++/
|
2004-08-28 16:21:25 +00:00
|
|
|
|
|
|
|
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
|