INSTALL_HOST = einstein
INSTALL_USER = wking
-INSTALL_DIR = public_html/courses/phys201_s09
+INSTALL_DIR = public_html/courses/test
SOURCE_DIR := $(INSTALL_DIR)/source # := to avoid shifting with $INSTALL_DIR
FRAMEWORK_SUBDIR = html
-CONTENT_SUBDIRS = announcements latex
+CONTENT_SUBDIRS = #announcements latex
SUBDIRS = $(FRAMEWORK_SUBDIR) $(CONTENT_SUBDIRS)
export INSTALL_HOST
@for i in $(SUBDIRS); do \
echo "make install in $$i..."; \
(cd $$i; $(MAKE) $(MFLAGS) install); done
+# ssh $(INSTALL_USER)@$(INSTALL_HOST) \
+# "find $(INSTALL_DIR) -type d -execdir touch {} \;"
+# Directory touches to fix problems like "NFS Stale File Handle" if your
+# installation directory is NFS mounted by your webserver. Uncomment it
+# if you need to.
clean :
@for i in $(SUBDIRS); do \