doc-src/LaTeXsugar/Makefile
changeset 15894 41f9c0902db1
parent 15730 6480cd74feb3
child 16395 3446d2b6a19f
--- a/doc-src/LaTeXsugar/Makefile	Sat Apr 30 02:43:45 2005 +0200
+++ b/doc-src/LaTeXsugar/Makefile	Sat Apr 30 02:45:17 2005 +0200
@@ -8,7 +8,7 @@
 
 ## paths
 
-SRCPATH = Sugar/generated
+SRCPATH = Sugar/document
 
 ## dependencies
 
@@ -16,31 +16,31 @@
 
 NAME = sugar
 
-FILES = Sugar/generated/root.tex Sugar/generated/root.bib \
-	      Sugar/generated/mathpartir.sty Sugar/generated/LaTeXsugar.tex \
-        Sugar/generated/OptionalSugar.tex
+FILES = Sugar/document/root.tex Sugar/document/root.bib \
+	      Sugar/document/mathpartir.sty Sugar/document/LaTeXsugar.tex \
+        Sugar/document/OptionalSugar.tex
 
-GARBAGE = Sugar/generated/*.aux Sugar/generated/*.log Sugar/generated/*.toc \
-          Sugar/generated/*.idx Sugar/generated/*.bbl Sugar/generated/*.blg \
-          Sugar/generated/*.out
+GARBAGE = Sugar/document/*.aux Sugar/document/*.log Sugar/document/*.toc \
+          Sugar/document/*.idx Sugar/document/*.bbl Sugar/document/*.blg \
+          Sugar/document/*.out
 
 dvi: $(NAME).dvi
 
 $(NAME).dvi: $(FILES)
-	cd Sugar/generated; \
+	cd Sugar/document; \
 	$(LATEX) root; \
 	$(BIBTEX) root; \
 	$(LATEX) root; \
 	$(LATEX) root
-	cp $(SRCPATH)/root.dvi $(NAME).dvi
+	mv $(SRCPATH)/root.dvi $(NAME).dvi
 
 pdf: $(NAME).pdf
 
 $(NAME).pdf: $(FILES)
-	cd Sugar/generated; \
+	cd Sugar/document; \
 	$(PDFLATEX) root; \
 	$(BIBTEX) root; \
 	$(PDFLATEX) root; \
 	$(PDFLATEX) root
-	cp $(SRCPATH)/root.pdf $(NAME).pdf
+	mv $(SRCPATH)/root.pdf $(NAME).pdf