doc_DATA = ChangeLog ChangeLogOld NEWS README COPYING
-SUBDIRS=src tests doc
+SUBDIRS=src tests doc rpm
EXTRA_DIST= ChangeLogOld
-CLEANFILES=*.*~
\ No newline at end of file
+CLEANFILES=*~ ${PACKAGE}-${VERSION}*.gz ${PACKAGE}-${VERSION}*.rpm
+
+rpm: dist
+ (cd rpm && ${MAKE} ${AM_MAKEFLAGS} rpm)
\ No newline at end of file
doc_DATA = ChangeLog ChangeLogOld NEWS README COPYING
-SUBDIRS = src tests doc
+SUBDIRS = src tests doc rpm
EXTRA_DIST = ChangeLogOld
-CLEANFILES = *.*~
+CLEANFILES = *~ ${PACKAGE}-${VERSION}*.gz ${PACKAGE}-${VERSION}*.rpm
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
DATA = $(doc_DATA)
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
-Makefile.am Makefile.in NEWS aclocal.m4 config.h.in configure \
-configure.in install-sh missing mkinstalldirs
+Makefile.am Makefile.in NEWS acinclude.m4 aclocal.m4 config.h.in \
+configure configure.in install-sh missing mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-$(ACLOCAL_M4): configure.in
+$(ACLOCAL_M4): configure.in acinclude.m4
cd $(srcdir) && $(ACLOCAL)
config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+rpm: dist
+ (cd rpm && ${MAKE} ${AM_MAKEFLAGS} rpm)
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
dnl PARTICULAR PURPOSE.
+
# Do all the work for Automake. This macro actually does too much --
# some checks are only needed if your package does certain things.
# But this isn't really a big deal.
trap 'rm -fr `echo "Makefile
src/Makefile
tests/Makefile
- doc/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+ doc/Makefile
+ rpm/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
CONFIG_FILES=\${CONFIG_FILES-"Makefile
src/Makefile
tests/Makefile
- doc/Makefile"}
+ doc/Makefile
+ rpm/Makefile"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
AC_OUTPUT(Makefile
src/Makefile
tests/Makefile
- doc/Makefile)
+ doc/Makefile
+ rpm/Makefile)
<h3>TODO</h3>
- The following enhancements are being considered for Check:
+ The following enhancements are being considered for Check. Please
+ let the author know if you would like to assist in any of these,
+ or if you would like to suggest additional enhancements:
<ul>
<li>Printing and Logging
functionality (without end-to-end testing of output</li>
</ul>
</li>
+ <li>
+ <ul>Internals
+ <li>Currently Check can only be used on POSIX machines
+ supporting SysV message queues. This excludes Win32 native
+ and broken POSIX implementations (e.g., cygwin on
+ Win9x). Abstract the forking and message passing
+ implementation to allow Win32 compatibility.</li>
+ </ul>
+ </li>
<li>Packaging
<ul>
<li>Automate RPM production</li>
--- /dev/null
+WD=`pwd`
+TOPDIRFLAGS=--define "_topdir ${WD}"
+RPMFLAGS=
+
+EXTRA_DISTS=check.spec
+
+SOURCE_FILE=${PACKAGE}-${VERSION}.tar.gz
+RPM_I386=./RPMS/i386/${PACKAGE}-$(VERSION)-1.i386.rpm
+RPM_SRC=./SRPMS/${PACKAGE}-$(VERSION)-1.src.rpm
+
+RPMDIRS=BUILD SOURCES RPMS RPMS/i386 SRPMS
+
+rpm: check.spec
+ mkdir -p ${RPMDIRS}
+ cp ../${SOURCE_FILE} SOURCES
+ rpm ${TOPDIRFLAGS} ${RPMFLAGS} -ba check.spec
+ cp ${RPM_I386} ..
+ cp ${RPM_SRC} ..
+ rm -rf ${RPMDIRS}
+
+CLEANFILES=*.*~
+++ /dev/null
-#!/bin/sh
-rpm --define "_topdir /home/amalec/src/check/rpm" -ba SPECS/check.spec --nodeps