diff --git a/README b/README new file mode 100644 index 0000000000000000000000000000000000000000..c43342be74e87adc7a02d24349f6dd11f7d49401 --- /dev/null +++ b/README @@ -0,0 +1 @@ +This material is subject to the LaTeX Project Public License. \ No newline at end of file diff --git a/fithesis3/Makefile b/fithesis3/Makefile index d0c6a999179fd1d8fa045939ff1b416644cc4d2d..f5881465f74de12340f042ee5d96dc80a9960705 100644 --- a/fithesis3/Makefile +++ b/fithesis3/Makefile @@ -7,7 +7,9 @@ LOGOFILES=logo/*/*.eps logo/*/color/*.eps logo/*/*.pdf logo/*/color/*.pdf LOCALEFILES=locale/*.def locale/*/*.def locale/*/*/*.def DTXFILES=*.dtx locale/*.dtx style/*.dtx style/*/*.dtx INSFILES=*.ins locale/*.ins style/*.ins style/*/*.ins -MAKEFILES=Makefile */Makefile */*/Makefile */*/*/Makefile +MAKEFILES=Makefile */Makefile */*/Makefile */*/*/Makefile ../Makefile +READMES=../README +MISCELLANEOUS=$(READMES) ../example.tex RESOURCES=$(STYLEFILES) $(LOGOFILES) $(LOCALEFILES) SOURCEFILES=$(DTXFILES) $(INSFILES) docstrip.cfg AUXFILES=fithesis.aux fithesis.log fithesis.toc fithesis.ind fithesis.idx fithesis.out fithesis.ilg fithesis.gls fithesis.glo fithesis.hd @@ -34,8 +36,10 @@ explode: fithesis3.cls $(PDFFILES) test: all cd test; make -# This pseudo-target creates the distribution archives. -dist: all $(TDSFILE) $(DISTFILE) +# This pseudo-target creates the distribution archive. +dist: all + make $(TDSFILE) $(DISTFILE) + rm $(TDSFILE) # This target creates the class files. fithesis3.cls: fithesis.ins fithesis.dtx @@ -57,10 +61,10 @@ $(TDSFILE): $(LATEXFILES) $(SOURCEFILES) $(PDFFILES) $(PDFSOURCES) mv "$$DIR"/$@ $@ && rm -rf "$$DIR" # This target generates a distribution file -$(DISTFILE): $(LATEXFILES) $(SOURCEFILES) $(MAKEFILES) $(PDFFILES) $(PDFSOURCES) - DIR=`mktemp -d` && mkdir "$$DIR/fithesis3" && \ +$(DISTFILE): $(LATEXFILES) $(SOURCEFILES) $(MAKEFILES) $(PDFFILES) $(PDFSOURCES) $(MISCELLANEOUS) + DIR=`mktemp -d` && mkdir --parents "$$DIR/fithesis3/fithesis3" && \ cp --verbose $(TDSFILE) "$$DIR" && \ - cp --parents --verbose $^ "$$DIR/fithesis3" && \ + cp --parents --verbose $^ "$$DIR/fithesis3/fithesis3" && \ (cd "$$DIR" && zip -r -v -nw $@ *) && \ mv "$$DIR"/$@ $@ && rm -rf "$$DIR" @@ -120,7 +124,7 @@ clean: # This pseudo-target removes the distribution archives. dist-clean: - rm -f $(DISTFILE) $(TDSFILE) + rm -f $(DISTFILE) # This pseudo-target removes any makeable files. implode: clean dist-clean