Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /trunk/pdf_maker/main.aap [r212] .. [r213] Maximize Restore

  Switch to side-by-side view

--- a/trunk/pdf_maker/main.aap
+++ b/trunk/pdf_maker/main.aap
@@ -1,14 +1,14 @@
 TOPLEVELDIR=..
-@VERSION     = TOPLEVELDIR + '/VERSION'
 :include {once} $TOPLEVELDIR/common.aap
 :child $TOPLEVELDIR/tools/main.aap
 
 all:
 	:print Use 'aap clean' to clean up.
-	:print Use 'aap reference.pdf' to generate reference.pdf
+	:print Use 'aap publish' to publish pdf manual to SF.
+	:print Use 'aap release' to generate pdf mauals to release.
 
 help.html:
-	:execute ../doc/main.aap allhtml
+	:execute $DOC_DIR/main.aap allhtml
 	:sys ./uncss.sh
 
 :rule %.tex: help.html ../tools/html2lex %.inp
@@ -17,7 +17,11 @@
 :rule %.pdf: %.tex
 	:sys {f} latexmk $match
 
+release: reference.pdf user_manual.pdf
+        :copy reference.pdf $(RELEASE_DIR)/reference-$(VERSION).pdf
+        :copy user_manual.pdf $(RELEASE_DIR)/user_manual-$(VERSION).pdf
+
 clean:
-	:del {r}{force} *.html *.pdf *.tex *.aux *.log *.out *.fdb_latexmk
-	:execute ../doc/main.aap clean
-	:execute ../tools/main.aap clean
+	:del {r}{force} *.html *.pdf *.tex *.aux *.log *.out *.fdb_latexmk *.fls
+	:execute $DOC_DIR/main.aap clean
+	:execute $TOOLS_DIR/main.aap clean