find . -print | grep "^./$$part/" | cut -c3- >> $(TMP)/tar.exclude; \
done
endif
+# if we find a Makefile.tests file, rename it to Makefile, and
+# update the tar.exclude contents so that it doesn't get excluded
+ if [ -f Makefile.tests ]; then \
+ cp -p Makefile.tests $(TMP)/docbook-$(DISTRO)-$(ZIPVER)/Makefile; \
+ sed -i -r 's/^Makefile\$$$$//' $(TMP)/tar.exclude; \
+ fi
# tar up distro, then gzip/bzip/zip it
$(TAR) cf$(TARFLAGS) - -X $(TMP)/tar.exclude * .[^.]* | (cd $(TMP)/docbook-$(DISTRO)-$(ZIPVER); $(TAR) xf$(TARFLAGS) -)
umask 022; cd $(TMP) && $(TAR) cf$(TARFLAGS) - docbook-$(DISTRO)-$(ZIPVER) | gzip > docbook-$(DISTRO)-$(ZIPVER).tar.gz
@svn status
endif
-release-clean: clean
- $(MAKE) -C docsrc release-clean
+release-clean: clean $(RELEASE_CLEAN_TARGETS)
$(RM) TERMS.xml
$(RM) $(NEWSFILE)
$(RM) NEWS.html
# $Id$
+#
+# This makefile does a "smoketest" of stylesheets for various
+# output formats in the DocBook XSL Stylesheets release package.
+# It doesn't actually check the output -- it's just useful for
+# confirming whether each XSLT transformation actually executes
+# successfully without any errors.
+#
+# To use it, run "make check" or just "make"
XSLTPROC=xsltproc
XSLTPROC_FLAGS=