## @file
##
## $Id$
##
## $Date$
## $Author$
##
## @copy © Marc Wäckerlin
## @license LGPL, see file <a href="license.html">COPYING</a>
##
## 1 2 3 4 5 6 7 8
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
SUBDIRS = @SRC_DIR@ @TST_DIR@ @DOC_DIR@ examples
EXTRA_DIST = bootstrap.sh debian build-string
DISTCLEANFILES = debian/changelog
deb: dist
tar xzvf @PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.gz
cd @PACKAGE_TARNAME@-@PACKAGE_VERSION@ && dpkg-buildpackage
rm -rf @PACKAGE_TARNAME@-@PACKAGE_VERSION@
doc_DATA = AUTHORS NEWS README COPYING INSTALL ChangeLog @PACKAGE_NAME@.spec
RPMS = /usr/src/packages/RPMS/i586/@PACKAGE_NAME@-@PACKAGE_VERSION@-1.i586.rpm \
/usr/src/packages/RPMS/i586/@PACKAGE_NAME@-devel-@PACKAGE_VERSION@-1.i586.rpm \
/usr/src/packages/SRPMS/@PACKAGE_NAME@-@PACKAGE_VERSION@-1.src.rpm
.PHONY: release tag rpm webserver \
doc clean-local distclean-local dist-hool install-data-hook \
uninstall-hook
release: tag webserver
rpm: dist
rpmbuild -ba \
--define "_topdir $$(pwd)" \
--define "_sourcedir $$(pwd)" \
@PACKAGE_NAME@.spec
deps = ${top_srcdir}/COPYING ${top_srcdir}/README ${top_srcdir}/INSTALL ${top_srcdir}/NEWS ${top_srcdir}/ChangeLog
build-string:
touch build-string
clean-local:
- rm README.debian
- rm @PACKAGE_NAME@-dev_@PACKAGE_VERSION@-*.deb \
@PACKAGE_NAME@_@PACKAGE_VERSION@*.changes \
@PACKAGE_TARNAME@_@PACKAGE_VERSION@*.tar.gz \
@PACKAGE_NAME@_@PACKAGE_VERSION@*.dsc \
@PACKAGE_NAME@_@PACKAGE_VERSION@*.deb
distclean-local:
- rm -r ${top_builddir}/@DOC_DIR@/html/*
- rm -r ${top_builddir}/@DOC_DIR@/latex/*
- rm makefile makefile.in doxygen.err libmrw.doxytag
- find . -name '*~' | xargs rm
- rm -rf autom4te.cache SPECS RPMS BUILD BUILDROOT SRPMS
- rm aclocal.m4 config.guess config.sub configure \
depcomp install-sh ltmain.sh makefile makefile.in \
missing mkinstalldirs
MAINTAINERCLEANFILES = debian/control