Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 6b1228a

Added a COMMON_DOCS target to generate .wml files out of the common directory.

This is release 0.1.6.

  • Participants
  • Parent commits d7ab682
  • Tags Perl/HTML-Latemp-GenMakeHelpers/releases/0.1.x/0.1.6

Comments (0)

Files changed (2)

File Perl/modules/HTML-Latemp-GenMakeHelpers/Changes

 Revision history for HTML-Latemp-GenMakeHelpers
 
+0.1.6
     - Added support for the TTMLS target to generate TTML-processed files.
     - Fixed a bug where a parenthesis was missing.
+    - Added a COMMON_DOCS target to generate WMLs out of common/.
 0.1.5    2005-12-07
     - Added a Makefile.PL wrapper to the Build.PL build process (taken
     verbatim from http://search.cpan.org/dist/accessors/)

File Perl/modules/HTML-Latemp-GenMakeHelpers/lib/HTML/Latemp/GenMakeHelpers.pm

 
 X8X_DEST = $dest_dir
 
-X8X_TARGETS = \$(X8X_DEST) \$(X8X_DIRS_DEST) \$(X8X_COMMON_DIRS_DEST) \$(X8X_COMMON_IMAGES_DEST) \$(X8X_COMMON_TTMLS_DEST) \$(X8X_IMAGES_DEST) \$(X8X_DOCS_DEST) \$(X8X_TTMLS_DEST)
-        
+X8X_TARGETS = \$(X8X_DEST) \$(X8X_DIRS_DEST) \$(X8X_COMMON_DIRS_DEST) \$(X8X_COMMON_IMAGES_DEST) \$(X8X_COMMON_DOCS_DEST) \$(X8X_COMMON_TTMLS_DEST) \$(X8X_IMAGES_DEST) \$(X8X_DOCS_DEST) \$(X8X_TTMLS_DEST)
+
 X8X_WML_FLAGS = \$(WML_FLAGS) -DLATEMP_SERVER=x8x
 
 X8X_TTML_FLAGS = \$(TTML_FLAGS) -DLATEMP_SERVER=x8x
 
 X8X_COMMON_TTMLS_DEST = \$(patsubst %,\$(X8X_DEST)/%,\$(COMMON_TTMLS))
 
+X8X_COMMON_DOCS_DEST = \$(patsubst %,\$(X8X_DEST)/%,\$(COMMON_DOCS))
+
 \$(X8X_DOCS_DEST) :: $h_dest_star : \$(X8X_SRC_DIR)/%.wml \$(DOCS_COMMON_DEPS) 
 	( cd \$(X8X_SRC_DIR) && wml \$(X8X_WML_FLAGS) -DLATEMP_FILENAME=\$(patsubst $h_dest_star,%,\$(patsubst %.wml,%,\$@)) \$(patsubst \$(X8X_SRC_DIR)/%,%,\$<) ) > \$@
 
 \$(X8X_COMMON_TTMLS_DEST) :: $h_dest_star : \$(COMMON_SRC_DIR)/%.ttml \$(TTMLS_COMMON_DEPS)
 	ttml -o \$@ \$(X8X_TTML_FLAGS) -DLATEMP_FILENAME=\$(patsubst $h_dest_star,%,\$(patsubst %.ttml,%,\$@)) \$<
 
+\$(X8X_COMMON_DOCS_DEST) :: $h_dest_star : \$(COMMON_SRC_DIR)/%.wml \$(DOCS_COMMON_DEPS)
+	( cd \$(COMMON_SRC_DIR) && wml \$(X8X_WML_FLAGS) -DLATEMP_FILENAME=\$(patsubst $h_dest_star,%,\$(patsubst %.wml,%,\$@)) \$(patsubst \$(COMMON_SRC_DIR)/%,%,\$<) ) > \$@
+
 \$(X8X_COMMON_DIRS_DEST)  :: $h_dest_star : unchanged
 	mkdir -p \$@
 	touch \$@