--- manual/Makefile	2004/03/24 22:35:28	1.24
+++ manual/Makefile	2010/08/27 13:30:56	1.29
@@ -1,52 +1,16 @@
+#
+#  $Header: /home/ubuntu/mnt/e9_copy/manual/Makefile,v 1.29 2010/08/27 13:30:56 jmc Exp $
+#  $Name:  $
+#
+
+#
 #L2H = -image_type gif -split 5 -show_section_numbers -link 2 \
 #      -address "support@mitgcm.org" \
 #      -local_icons -noantialias -notransparent -white
 
-PROTEX_PKGS = \
-   aim \
-   aim_compon_interf \
-   aim_ocn_coupler \
-   aim_v23 \
-   autodiff \
-   bulk_force \
-   cal \
-   cd_code \
-   cfc \
-   compon_communic \
-   cost \
-   ctrl \
-   debug \
-   dic \
-   ecco \
-   exch2 \
-   exf \
-   fizhi \
-   flt \
-   gchem \
-   generic_advdiff \
-   gmredi \
-   grdchk \
-   gridalt \
-   kpp \
-   land \
-   mdsio \
-   mnc \
-   mom_fluxform \
-   mom_vecinv \
-   monitor \
-   obcs \
-   ocn_compon_interf \
-   ptracers \
-   rw \
-   sbo \
-   seaice \
-   shap_filt \
-   thsice \
-   timeave \
-   zonal_filt 
 
 L2H = -image_type png -split 5 -show_section_numbers -link 2 \
-      -address "mitgcm-support@dev.mitgcm.org" \
+      -address "mitgcm-support@mitgcm.org" \
       -local_icons -noantialias -notransparent -white
 
 default:
@@ -65,9 +29,6 @@
 	make ps.gz
 	make html
 
-pt_files:
-	./run_protex $(PROTEX_PKGS)
-
 tex: manual.dvi
 
 ps: manual.ps
@@ -95,7 +56,8 @@
 
 subfigs: manual.tgz
 
-manual.dvi: *.tex */*.tex */*/*/*.tex */*.ps */*.eps */*/*/*.eps manual_references.bib
+manual.dvi: *.tex */*.tex */*/*/*.tex */*.ps */*.eps */*/*/*.eps manual_references.bib */*/*/*.templ
+	( cd s_examples/held_suarez_cs/  &&  make )
 	TEXINPUTS=.:::texinputs latex manual
 	bibtex manual
 	TEXINPUTS=.:::texinputs latex manual
@@ -109,8 +71,10 @@
 
 clean: 
 	rm -f manual.{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log
+
 Clean:
 	make clean
+	( cd s_examples/held_suarez_cs/  &&  make Clean )
 	rm -f manual.{ps,pdf,ps.gz}
 	rm -rf manual
 	rm -f manual.{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz}