|
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
AUTOMAKE_OPTIONS = dejagnu
|
|
|
|
|
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
# Install all the associated data files
|
|
|
|
|
SUBDIRS = doc testsuite example
|
|
|
|
|
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
# Install the bourne shell script driver in the bindir
|
|
|
|
|
bin_SCRIPTS = runtest
|
|
|
|
|
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
# Install the main DejaGnu expect file in the datadir
|
|
|
|
|
pkgdata_SCRIPTS = runtest.exp
|
|
|
|
|
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
# Install config.guess too, so we can use it to figure out
|
|
|
|
|
# what type of machine we're running on.
|
|
|
|
|
libexecdir = $(pkgdatadir)/libexec
|
|
|
|
|
libexec_SCRIPTS = config.guess
|
|
|
|
|
|
|
|
|
|
TLCSH = @TCLSH@
|
|
|
|
|
|
|
|
|
|
RUNTESTDEFAULTFLAGS = --srcdir $(srcdir)/testsuite RUNTEST=$(RUNTEST)
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
RUNTEST = ` \
|
|
|
|
|
if [ -f ${srcdir}/runtest$(EXEEXT) ] ; then \
|
|
|
|
|
echo ${srcdir}/runtest$(EXEEXT); \
|
|
|
|
|
else echo "ERROR: runtest not found" ; exit 1; fi`
|
|
|
|
|
|
|
|
|
|
CLEANFILES = x.log x.sum site.bak setval.tmp
|
|
|
|
|
check-DEJAGNU:
|
|
|
|
|
@echo "Do nothing here, cause we don't want to run the tests twice"
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
|
|
|
|
|
# Set ourselves up to build a RedHat package
|
|
|
|
|
tarball: overview.html overview.ps overview.pdf
|
|
|
|
|
-rm -fr dejagnu-${VERSION}
|
|
|
|
|
cp -fpr $(srcdir) dejagnu-${VERSION}
|
|
|
|
|
@echo "clean up stuff we don't want in the source file"
|
|
|
|
|
src=$(srcdir); \
|
|
|
|
|
dir=`(cd $${src}; pwd)`; \
|
|
|
|
|
(cd dejagnu-${VERSION} ; $${dir}/Clean.tcl); \
|
|
|
|
|
-mkdir -p doc/overview; \
|
|
|
|
|
-cp -fr doc/overview dejagnu-${VERSION}/doc/; \
|
|
|
|
|
-cp -fr doc/overview.ps dejagnu-${VERSION}/doc/; \
|
|
|
|
|
-cp -fr doc/overview.pdf dejagnu-${VERSION}/doc/; \
|
|
|
|
|
tar cvf ../dejagnu-${VERSION}.tar dejagnu-${VERSION}; \
|
|
|
|
|
gzip -9fv ../dejagnu-${VERSION}.tar; \
|
|
|
|
|
cp -f ../dejagnu-${VERSION}.tar.gz /usr/src/redhat/SOURCES/; \
|
|
|
|
|
cp -f $${dir}/redhat/dejagnu.spec /usr/src/redhat/SPECS/
|
|
|
|
|
|
|
|
|
|
DATE = `date "+%Y%m%d`
|
|
|
|
|
snapshot:
|
|
|
|
|
-rm -fr dejagnu-${DATE}
|
|
|
|
|
cp -fpr $(srcdir) dejagnu-${DATE}
|
|
|
|
|
@echo "clean up stuff we don't want in the source file"
|
|
|
|
|
src=$(srcdir); \
|
|
|
|
|
dir=`(cd $${src}; pwd)`; \
|
|
|
|
|
(cd dejagnu-${DATE} ; $${dir}/Clean.tcl);
|
|
|
|
|
-mkdir -p doc/overview
|
|
|
|
|
-cp -fr doc/overview dejagnu-${DATE}/doc/
|
|
|
|
|
-cp -fr doc/overview.ps dejagnu-${DATE}/doc/
|
|
|
|
|
-cp -fr doc/overview.pdf dejagnu-${DATE}/doc/
|
|
|
|
|
tar cf ../dejagnu-${DATE}.tar dejagnu-${DATE}
|
|
|
|
|
gzip -9fv ../dejagnu-${DATE}.tar
|
|
|
|
|
|
|
|
|
|
rpmspec: $(srcdir)/redhat/dejagnu.spec
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
cp -f $(srcdir)/redhat/dejagnu.spec /usr/src/redhat/SPECS/
|
|
|
|
|
|
|
|
|
|
rpm: tarball rpmspec
|
|
|
|
|
cp -f ../$(distdir).tar.gz /usr/src/redhat/SOURCES/
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
rpm -ba /usr/src/redhat/SPECS/dejagnu.spec
|
|
|
|
|
|
|
|
|
|
deb: overview.html overview.ps overview.pdf
|
|
|
|
|
-rm -fr dejagnu-${VERSION}
|
|
|
|
|
cp -fpr $(srcdir) dejagnu-${VERSION}
|
|
|
|
|
@echo "clean up stuff we don't want in the source file"
|
|
|
|
|
src=$(srcdir); \
|
|
|
|
|
dir=`(cd $${src}; pwd)`; \
|
|
|
|
|
(cd dejagnu-${VERSION} ; $${dir}/Clean.tcl);
|
|
|
|
|
-mkdir -p doc/overview;
|
|
|
|
|
-cp -fr $(srcdir)/debian dejagnu-${VERSION}/;
|
|
|
|
|
-cp -fr doc/overview dejagnu-${VERSION}/doc/;
|
|
|
|
|
-cp -fr doc/overview.ps dejagnu-${VERSION}/doc/;
|
|
|
|
|
-cp -fr doc/overview.pdf dejagnu-${VERSION}/doc/;
|
|
|
|
|
(cd dejagnu-${VERSION}; dpkg-buildpackage)
|
|
|
|
|
|
|
|
|
|
overview.html overview.ps overview.pdf install-doc:
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
cd doc && $(MAKE) $(FLAGS_TO_PASS) $@
|
|
|
|
|
|
|
|
|
|
# Automake sucks when it comes to building a distribution, so
|
|
|
|
|
# we just copy the source tree onto of what Automake did, and
|
|
|
|
|
# then we Clean it. Automake only includes the source files.
|
|
|
|
|
# We want all the testsuites, data files, and html versions of the doc.
|
|
|
|
|
dist-hook: rpmspec overview.html overview.ps overview.pdf
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
-rm -fr $(distdir)
|
|
|
|
|
cp -fpr $(srcdir) $(distdir)
|
|
|
|
|
(cd $(distdir) ; $(TCLSH) $(srcdir)/Clean.tcl)
|
|
|
|
|
-cp -fr doc/overview $(distdir)/doc/
|
|
|
|
|
-cp -fr doc/overview.ps $(distdir)/doc/
|
|
|
|
|
-cp -fr doc/overview.pdf $(distdir)/doc/
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
|
|
|
|
|
|
|
|
|
|
# Below, host-independent data files that need to get installed.
|
|
|
|
|
# We do it this way so we can use globbing.
|
|
|
|
|
|
|
|
|
|
lib_dest = $(DESTDIR)$(pkgdatadir)
|
|
|
|
|
lib_files = $(srcdir)/*.c $(srcdir)/lib/*.exp
|
|
|
|
|
|
|
|
|
|
baseboards_dest = $(DESTDIR)$(pkgdatadir)/baseboards
|
|
|
|
|
baseboards_files = $(srcdir)/baseboards/README $(srcdir)/baseboards/*.exp
|
|
|
|
|
|
|
|
|
|
config_dest = $(DESTDIR)$(pkgdatadir)/config
|
|
|
|
|
config_files = $(srcdir)/config/README $(srcdir)/config/*.exp
|
|
|
|
|
|
|
|
|
|
install-data-local:
|
|
|
|
|
$(mkinstalldirs) $(lib_dest) $(includedir)
|
|
|
|
|
for f in $(lib_files); do \
|
|
|
|
|
test ! -f "$$f" || $(INSTALL_DATA) $$f $(lib_dest); \
|
|
|
|
|
done
|
|
|
|
|
#
|
|
|
|
|
$(mkinstalldirs) $(baseboards_dest)
|
|
|
|
|
for f in $(baseboards_files); do \
|
|
|
|
|
test ! -f "$$f" || $(INSTALL_DATA) $$f $(baseboards_dest); \
|
|
|
|
|
done
|
|
|
|
|
#
|
|
|
|
|
$(INSTALL_DATA) $(srcdir)/dejagnu.h $(includedir); \
|
|
|
|
|
#
|
|
|
|
|
$(mkinstalldirs) $(config_dest)
|
|
|
|
|
for f in $(config_files); do \
|
|
|
|
|
test ! -f "$$f" || $(INSTALL_DATA) $$f $(config_dest); \
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
|
for f in $(lib_files); do \
|
|
|
|
|
test ! -f "$$f" || rm -f $(lib_dest)/`basename "$$f"`; \
|
|
|
|
|
done
|
|
|
|
|
for f in $(config_files); do \
|
|
|
|
|
test ! -f "$$f" || rm -f $(config_dest)/`basename "$$f"`; \
|
|
|
|
|
done
|
|
|
|
|
for f in $(baseboards_files); do \
|
|
|
|
|
test ! -f "$$f" || rm -f $(baseboards_dest)/`basename "$$f"`; \
|
|
|
|
|
done
|
* Most all files: Update copyright notices.
* Makefile.am: Add support for making RPMs. Force different
values for RUNTEST and RUNTESTFLAGS, so we can test ourselves.
* testsuite/Makefile.am: Force a different value for
RUNTESTFLAGS.
* acinclude.m4, configure.in: Find Tclsh, and Docbook.
* configure: Regenerated.
* doc/Makefile.am: Use $DOCBOOK to find the filters.
* doc/overview: Add the html version of the doc so one doesn't
need docbook to read the manual.
* example/calc/Makefile.am: New automake support.
* example/calc/Makefile.in: Generated.
* example/Makefile.am: Recursion support for make.
* example/calc/Makefile.in: Generated by automake.
* example/calc/calc.h.in: Move constants to calc.c, so we can use
autoheader.
* example/calc/calc.c: Add constants from calc.h.in.
* redhat/dejagnu.spec: New RPM packaging file.
* debian/{changelog,conffiles,control,copyright,postinst,preinst,
rules,site.exp}: New Debian packaging support.
25 years ago
|
|
|
|
|
|
|
|
for f in $(baseboards_files); do \
|
|
|
|
|
test ! -f "$$f" || rm -f $(baseboards_dest)/`basename "$$f"`; \
|
|
|
|
|
done
|
|
|
|
|
rm -f $(includedir)/dejagnu.h;
|
|
|
|
|
|
|
|
|
|
site.exp: Makefile
|
|
|
|
|
@echo 'Making a new site.exp file...'
|
|
|
|
|
@test ! -f site.bak || rm -f site.bak
|
|
|
|
|
@echo '## these variables are automatically generated by make ##' > $@-t
|
|
|
|
|
@echo '# Do not edit here. If you wish to override these values' >> $-t
|
|
|
|
|
@echo '# edit the last section' >> $@-t
|
|
|
|
|
@echo 'set srcdir $(srcdir)' >> $@-t
|
|
|
|
|
@echo 'set objdir' `pwd` >> $@-t
|
|
|
|
|
@echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
|
|
|
|
|
@test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
|
|
|
|
|
@test ! -f site.exp || mv site.exp site.bak
|
|
|
|
|
@mv $@-t site.exp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|