SUBDIRS = scripts latex arundina if INCLUDE_LATEX tdsdist_tgz = $(LATEX_PACKAGE)-$(VERSION).tds.tar.gz ctandist_tgz = $(LATEX_PACKAGE)-$(VERSION).ctan.tar.gz tdsdist_zip = $(LATEX_PACKAGE)-$(VERSION).tds.zip ctandist_zip = $(LATEX_PACKAGE)-$(VERSION).ctan.zip tdsdistdir = $(LATEX_PACKAGE)-$(VERSION)-tds inst-tds: rm -rf $(tdsdistdir) mkdir $(tdsdistdir) confdir=`cd $(top_srcdir) && pwd` \ && cd $(tdsdistdir) \ && $$confdir/configure --disable-ttf --enable-latex --prefix=/usr \ --with-texmfdir=/ --docdir=/doc/fonts/$(LATEX_PACKAGE) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR=`pwd`/inst install \ && rm -rf inst/usr \ && mkdir -p inst/source/fonts/$(LATEX_PACKAGE) \ && make distdir distdir=inst/source/fonts/$(LATEX_PACKAGE) dist-tds-tgz: inst-tds rm -f $(tdsdist_tgz) cd $(tdsdistdir)/inst \ && tar cf - * | gzip -9 -c > ../../$(tdsdist_tgz) rm -rf $(tdsdistdir) dist-tds-zip: inst-tds rm -f $(tdsdist_zip) cd $(tdsdistdir)/inst \ && zip -r ../../$(tdsdist_zip) * rm -rf $(tdsdistdir) dist-tds: dist-tds-zip .PHONY: dist-tds dist-tds-tgz dist-tds-zip inst-tds endif # INCLUDE_LATEX