Unverified Commit 09abb2d2 authored by Vít Starý Novotný's avatar Vít Starý Novotný
Browse files

Remove tests directory

parent 60fdba14
Loading
Loading
Loading
Loading
+6 −17
Original line number Original line Diff line number Diff line
SUBMAKES_REQUIRED=logo/mu locale style style/mu
SUBMAKES_REQUIRED=logo/mu locale style style/mu
SUBMAKES_EXTRA=example/mu
SUBMAKES_EXTRA=example/mu
SUBMAKES_TEST=test test/mu/blind test/mu/compare \
SUBMAKES=$(SUBMAKES_REQUIRED) $(SUBMAKES_EXTRA)
	test/mu/compare-example

SUBMAKES=$(SUBMAKES_REQUIRED) $(SUBMAKES_EXTRA) $(SUBMAKES_TEST)
.PHONY: all base complete docs clean dist dist-implode implode \
.PHONY: all base complete docs clean dist dist-implode implode \
	install install-base install-docs uninstall tests $(SUBMAKES)
	install install-base install-docs uninstall $(SUBMAKES)


CLASSFILES=fithesis.cls fithesis2.cls fithesis3.cls fithesis4.cls
CLASSFILES=fithesis.cls fithesis2.cls fithesis3.cls fithesis4.cls
STYLEFILES=style/*.sty style/*/*.sty style/*/*.clo
STYLEFILES=style/*.sty style/*/*.sty style/*/*.clo
@@ -16,12 +15,8 @@ DTXFILES=*.dtx locale/czech.dtx locale/english.dtx \
	locale/slovak.dtx style/*.dtx style/*/*.dtx
	locale/slovak.dtx style/*.dtx style/*/*.dtx
INSFILES=*.ins locale/czech.ins locale/english.ins \
INSFILES=*.ins locale/czech.ins locale/english.ins \
	locale/slovak.ins style/*.ins style/*/*.ins
	locale/slovak.ins style/*.ins style/*/*.ins
TESTS=test/*.tex test/mu/compare/*.pdf test/mu/compare/*.tex \
	test/mu/compare-example/*.pdf test/mu/comparepdf.sh \
	test/mu/update-tests.sh
MAKES=locale/Makefile logo/mu/Makefile Makefile style/Makefile \
MAKES=locale/Makefile logo/mu/Makefile Makefile style/Makefile \
	style/mu/Makefile test/Makefile test/mu/blind/Makefile \
	style/mu/Makefile
	test/mu/compare/Makefile test/mu/compare-example/Makefile
USEREXAMPLE_SOURCES=example/mu/Makefile example/mu/example.dtx \
USEREXAMPLE_SOURCES=example/mu/Makefile example/mu/example.dtx \
	example/mu/*.ins example/mu/latexmkrc \
	example/mu/*.ins example/mu/latexmkrc \
	example/mu/example-terms-abbrs.tex
	example/mu/example-terms-abbrs.tex
@@ -39,10 +34,7 @@ USEREXAMPLES=example/mu/econ-lualatex.pdf \
DEVEXAMPLES=locale/DESCRIPTION locale/EXAMPLE.dtx locale/EXAMPLE.ins \
DEVEXAMPLES=locale/DESCRIPTION locale/EXAMPLE.dtx locale/EXAMPLE.ins \
	logo/EXAMPLE/DESCRIPTION logo/mu/DESCRIPTION \
	logo/EXAMPLE/DESCRIPTION logo/mu/DESCRIPTION \
	logo/DESCRIPTION style/EXAMPLE/DESCRIPTION style/mu/DESCRIPTION \
	logo/DESCRIPTION style/EXAMPLE/DESCRIPTION style/mu/DESCRIPTION \
	style/DESCRIPTION test/DESCRIPTION test/EXAMPLE/DESCRIPTION \
	style/DESCRIPTION example/EXAMPLE/DESCRIPTION example/mu/DESCRIPTION \
	test/mu/DESCRIPTION test/mu/blind/DESCRIPTION \
	test/mu/compare/DESCRIPTION test/mu/compare-example/DESCRIPTION \
	example/EXAMPLE/DESCRIPTION example/mu/DESCRIPTION \
	example/DESCRIPTION
	example/DESCRIPTION
EXAMPLES=$(USEREXAMPLES) $(DEVEXAMPLES)
EXAMPLES=$(USEREXAMPLES) $(DEVEXAMPLES)
MISCELLANEOUS=example/mu/example.bib $(USEREXAMPLES:.pdf=.tex) \
MISCELLANEOUS=example/mu/example.bib $(USEREXAMPLES:.pdf=.tex) \
@@ -86,9 +78,6 @@ docs:
$(SUBMAKES):
$(SUBMAKES):
	make -C $@ all
	make -C $@ all


# This pseudo-target performs the tests.
tests: base $(SUBMAKES_TEST)

# This pseudo-target creates the distribution archive.
# This pseudo-target creates the distribution archive.
dist: dist-implode complete
dist: dist-implode complete
	make $(TDSARCHIVE) $(DISTARCHIVE) $(CTANARCHIVE)
	make $(TDSARCHIVE) $(DISTARCHIVE) $(CTANARCHIVE)
@@ -118,7 +107,7 @@ $(TDSARCHIVE):
	mv "$$DIR"/$@ $@ && rm -rf "$$DIR"
	mv "$$DIR"/$@ $@ && rm -rf "$$DIR"


# This target generates a distribution file.
# This target generates a distribution file.
$(DISTARCHIVE): $(SOURCES) $(LATEXFILES) $(MAKES) $(TESTS) \
$(DISTARCHIVE): $(SOURCES) $(LATEXFILES) $(MAKES) \
	$(USEREXAMPLE_SOURCES) $(DOCS) $(PDFSOURCES) $(MISCELLANEOUS) \
	$(USEREXAMPLE_SOURCES) $(DOCS) $(PDFSOURCES) $(MISCELLANEOUS) \
	$(EXAMPLES)
	$(EXAMPLES)
	DIR=`mktemp -d` && \
	DIR=`mktemp -d` && \

test/DESCRIPTION

deleted100644 → 0
+0 −3
Original line number Original line Diff line number Diff line
This directory contains the tests for the base fithesis3 class.
It can also contain subdirectories with tests for the files of
various universities.
 No newline at end of file

test/EXAMPLE/DESCRIPTION

deleted100644 → 0
+0 −2
Original line number Original line Diff line number Diff line
This is an empty directory. You can rename it to match the name of
your university and place the respective test files in here.

test/Makefile

deleted100644 → 0
+0 −18
Original line number Original line Diff line number Diff line
.PHONY: all clean implode

# This target runs all the tests.
all: implode
	for file in *.tex; do \
		[ $$file = '*.tex' ] && continue; \
		ln -s "$$file" current.tex && \
		pdflatex current && pdflatex current && make clean && \
		lualatex current && lualatex current && make implode; \
	done

# This target removes any auxiliary files.
clean: 
	rm -f *.aux *.log *.out *.lot *.lof *.toc

# This target removes any files created during the testing.
implode: clean
	rm -f texput.log current.*

test/mu/DESCRIPTION

deleted100644 → 0
+0 −2
Original line number Original line Diff line number Diff line
This directory contains the test files for the style files of the
Masaryk University (Brno, Czech Republic).
Loading