[svn:parrot] r43406 - in trunk: . config/gen/makefiles lib/Parrot tools/dev

fperrad at svn.parrot.org fperrad at svn.parrot.org
Thu Jan 7 17:05:01 UTC 2010


Author: fperrad
Date: Thu Jan  7 17:04:44 2010
New Revision: 43406
URL: https://trac.parrot.org/parrot/changeset/43406

Log:
[install] POD files are now handled by install_doc_files.pl,
instead of install_files.pl & install_dev_files.pl

Modified:
   trunk/MANIFEST
   trunk/MANIFEST.generated
   trunk/config/gen/makefiles/root.in
   trunk/lib/Parrot/Manifest.pm
   trunk/tools/dev/install_dev_files.pl
   trunk/tools/dev/install_doc_files.pl
   trunk/tools/dev/install_files.pl

Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST	Thu Jan  7 08:34:11 2010	(r43405)
+++ trunk/MANIFEST	Thu Jan  7 17:04:44 2010	(r43406)
@@ -1,18 +1,18 @@
 # ex: set ro:
 # $Id$
 #
-# generated by tools/dev/mk_manifest_and_skip.pl Wed Jan  6 18:11:31 2010 UT
+# generated by tools/dev/mk_manifest_and_skip.pl Thu Jan  7 09:32:27 2010 UT
 #
 # See below for documentation on the format of this file.
 #
 # See docs/submissions.pod on how to recreate this file after SVN
 # has been told about new or deleted files.
-CREDITS                                                     []
+CREDITS                                                     [main]doc
 ChangeLog                                                   []
 Configure.pl                                                []
-DEPRECATED.pod                                              []
+DEPRECATED.pod                                              [devel]doc
 DEVELOPING                                                  []
-DONORS.pod                                                  []
+DONORS.pod                                                  [main]doc
 LICENSE                                                     [main]doc
 MANIFEST                                                    []
 MANIFEST.SKIP                                               []
@@ -23,10 +23,10 @@
 PBC_COMPAT                                                  [main]doc
 PLATFORMS                                                   [devel]doc
 README                                                      [devel]doc
-README_cygwin.pod                                           []
-README_win32.pod                                            []
+README_cygwin.pod                                           [devel]doc
+README_win32.pod                                            [devel]doc
 RESPONSIBLE_PARTIES                                         [main]doc
-TODO                                                        []
+TODO                                                        [devel]doc
 VERSION                                                     [devel]
 compilers/data_json/data_json.pir                           [data_json]
 compilers/data_json/data_json/grammar.pg                    [data_json]
@@ -417,7 +417,7 @@
 config/inter/shlibs.pm                                      []
 config/inter/types.pm                                       []
 config/inter/yacc.pm                                        []
-docs/book/draft/README                                      []doc
+docs/book/draft/README                                      []
 docs/book/draft/appa_glossary.pod                           []
 docs/book/draft/appb_patch_submission.pod                   []
 docs/book/draft/appc_command_line_options.pod               []
@@ -433,121 +433,121 @@
 docs/book/draft/chXX_hlls.pod                               []
 docs/book/draft/chXX_library.pod                            []
 docs/book/draft/chXX_testing_and_debugging.pod              []
-docs/book/pct/ch01_introduction.pod                         []
-docs/book/pct/ch02_getting_started.pod                      []
-docs/book/pct/ch03_compiler_tools.pod                       []
-docs/book/pct/ch04_pge.pod                                  []
-docs/book/pct/ch05_nqp.pod                                  []
-docs/book/pir/ch01_introduction.pod                         []
-docs/book/pir/ch02_getting_started.pod                      []
-docs/book/pir/ch03_basic_syntax.pod                         []
-docs/book/pir/ch04_variables.pod                            []
-docs/book/pir/ch05_control_structures.pod                   []
-docs/book/pir/ch06_subroutines.pod                          []
-docs/book/pir/ch07_objects.pod                              []
-docs/book/pir/ch08_io.pod                                   []
-docs/book/pir/ch09_exceptions.pod                           []
-docs/compiler_faq.pod                                       [devel]doc
-docs/configuration.pod                                      []
-docs/debug.pod                                              [devel]doc
-docs/debugger.pod                                           []
-docs/dev/byteorder.pod                                      []
-docs/dev/c_functions.pod                                    []
-docs/dev/debugging_with_msvc.pod                            []
-docs/dev/events.pod                                         []
-docs/dev/headerizer.pod                                     []
-docs/dev/infant.pod                                         []
-docs/dev/longopt.pod                                        []
-docs/dev/optimizer.pod                                      []
-docs/dev/parrot_api.pod                                     []
-docs/dev/pcc_state.pod                                      []
-docs/dev/pccmethods.pod                                     []
-docs/dev/pmc_freeze.pod                                     []
-docs/dev/pmc_obj_design_meeting_notes.pod                   []
-docs/dev/profiling.pod                                      []
-docs/embed.pod                                              []
-docs/extend.pod                                             []
-docs/faq.pod                                                [main]doc
-docs/gettingstarted.pod                                     [main]doc
-docs/glossary.pod                                           [main]doc
-docs/imcc/README                                            []doc
-docs/imcc/imcfaq.pod                                        []
-docs/imcc/operation.pod                                     []
-docs/intro.pod                                              [main]doc
-docs/memory_internals.pod                                   []
-docs/multidispatch.pod                                      []
-docs/optable.pod                                            []
-docs/overview.pod                                           []
-docs/parrot.pod                                             []
-docs/parrotbyte.pod                                         []
-docs/parrothist.pod                                         []
-docs/pct/gettingstarted.pod                                 [pct]doc
-docs/pct/past_building_blocks.pod                           [pct]doc
-docs/pct/pct_optable_guide.pod                              [pct]doc
-docs/pdds/draft/pdd01_overview.pod                          []
-docs/pdds/draft/pdd05_opfunc.pod                            []
-docs/pdds/draft/pdd06_pasm.pod                              []
-docs/pdds/draft/pdd08_keys.pod                              []
-docs/pdds/draft/pdd10_embedding.pod                         []
-docs/pdds/draft/pdd11_extending.pod                         []
-docs/pdds/draft/pdd14_numbers.pod                           []
-docs/pdds/draft/pdd16_native_call.pod                       []
-docs/pdds/draft/pdd29_compiler_tools.pod                    []
-docs/pdds/draft/pdd31_hll.pod                               []
-docs/pdds/draft/pdd31_hll_interop.pod                       []
-docs/pdds/pdd00_pdd.pod                                     []
-docs/pdds/pdd03_calling_conventions.pod                     []
-docs/pdds/pdd07_codingstd.pod                               []
-docs/pdds/pdd09_gc.pod                                      []
-docs/pdds/pdd13_bytecode.pod                                []
-docs/pdds/pdd15_object_metamodel.png                        []
-docs/pdds/pdd15_object_metamodel.svg                        []
-docs/pdds/pdd15_objects.pod                                 []
-docs/pdds/pdd17_pmc.pod                                     []
-docs/pdds/pdd18_security.pod                                []
-docs/pdds/pdd19_pir.pod                                     []
-docs/pdds/pdd20_lexical_vars.pod                            []
-docs/pdds/pdd21_namespaces.pod                              []
-docs/pdds/pdd22_io.pod                                      []
-docs/pdds/pdd23_exceptions.pod                              []
-docs/pdds/pdd24_events.pod                                  []
-docs/pdds/pdd25_concurrency.pod                             []
-docs/pdds/pdd26_ast.pod                                     []
-docs/pdds/pdd27_multiple_dispatch.pod                       []
-docs/pdds/pdd28_strings.pod                                 []
-docs/pdds/pdd30_install.pod                                 []
-docs/pdds/pdd_template.pod                                  []
-docs/pmc.pod                                                []
-docs/pmc/array.pod                                          [main]doc
-docs/pmc/documentation.pod                                  [main]doc
-docs/pmc/struct.pod                                         [main]doc
-docs/pmc/subs.pod                                           [main]doc
-docs/pmc2c.pod                                              [devel]doc
-docs/porting_intro.pod                                      []
-docs/project/branching_guide.pod                            [devel]doc
-docs/project/cage_cleaners_guide.pod                        [devel]doc
-docs/project/committer_guide.pod                            [devel]doc
-docs/project/debian_packaging_guide.pod                     [devel]doc
-docs/project/metacommitter_guide.pod                        [devel]doc
-docs/project/release_manager_guide.pod                      [devel]doc
-docs/project/roles_responsibilities.pod                     [devel]doc
-docs/project/support_policy.pod                             [devel]doc
-docs/project/ticket_triaging.pod                            [devel]doc
-docs/project/ubuntu_packaging_guide.pod                     [devel]doc
-docs/req/model_users.pod                                    []
-docs/resources/favicon.ico                                  []
-docs/resources/parrot.css                                   []
-docs/resources/parrot_logo.png                              []
-docs/resources/up.gif                                       []
-docs/running.pod                                            []
-docs/stability.pod                                          []
-docs/submissions.pod                                        []
-docs/tests.pod                                              []
-docs/user/pir/exceptions.pod                                [main]doc
-docs/user/pir/intro.pod                                     [main]doc
-docs/user/pir/objects.pod                                   [main]doc
-docs/user/pir/pmcs.pod                                      [main]doc
-docs/vtables.pod                                            [devel]doc
+docs/book/pct/ch01_introduction.pod                         [doc]
+docs/book/pct/ch02_getting_started.pod                      [doc]
+docs/book/pct/ch03_compiler_tools.pod                       [doc]
+docs/book/pct/ch04_pge.pod                                  [doc]
+docs/book/pct/ch05_nqp.pod                                  [doc]
+docs/book/pir/ch01_introduction.pod                         [doc]
+docs/book/pir/ch02_getting_started.pod                      [doc]
+docs/book/pir/ch03_basic_syntax.pod                         [doc]
+docs/book/pir/ch04_variables.pod                            [doc]
+docs/book/pir/ch05_control_structures.pod                   [doc]
+docs/book/pir/ch06_subroutines.pod                          [doc]
+docs/book/pir/ch07_objects.pod                              [doc]
+docs/book/pir/ch08_io.pod                                   [doc]
+docs/book/pir/ch09_exceptions.pod                           [doc]
+docs/compiler_faq.pod                                       [doc]
+docs/configuration.pod                                      [doc]
+docs/debug.pod                                              [doc]
+docs/debugger.pod                                           [doc]
+docs/dev/byteorder.pod                                      [doc]
+docs/dev/c_functions.pod                                    [doc]
+docs/dev/debugging_with_msvc.pod                            [doc]
+docs/dev/events.pod                                         [doc]
+docs/dev/headerizer.pod                                     [doc]
+docs/dev/infant.pod                                         [doc]
+docs/dev/longopt.pod                                        [doc]
+docs/dev/optimizer.pod                                      [doc]
+docs/dev/parrot_api.pod                                     [doc]
+docs/dev/pcc_state.pod                                      [doc]
+docs/dev/pccmethods.pod                                     [doc]
+docs/dev/pmc_freeze.pod                                     [doc]
+docs/dev/pmc_obj_design_meeting_notes.pod                   [doc]
+docs/dev/profiling.pod                                      [doc]
+docs/embed.pod                                              [doc]
+docs/extend.pod                                             [doc]
+docs/faq.pod                                                [doc]
+docs/gettingstarted.pod                                     [doc]
+docs/glossary.pod                                           [doc]
+docs/imcc/README                                            [doc]
+docs/imcc/imcfaq.pod                                        [doc]
+docs/imcc/operation.pod                                     [doc]
+docs/intro.pod                                              [doc]
+docs/memory_internals.pod                                   [doc]
+docs/multidispatch.pod                                      [doc]
+docs/optable.pod                                            [doc]
+docs/overview.pod                                           [doc]
+docs/parrot.pod                                             [doc]
+docs/parrotbyte.pod                                         [doc]
+docs/parrothist.pod                                         [doc]
+docs/pct/gettingstarted.pod                                 [doc]
+docs/pct/past_building_blocks.pod                           [doc]
+docs/pct/pct_optable_guide.pod                              [doc]
+docs/pdds/draft/pdd01_overview.pod                          [doc]
+docs/pdds/draft/pdd05_opfunc.pod                            [doc]
+docs/pdds/draft/pdd06_pasm.pod                              [doc]
+docs/pdds/draft/pdd08_keys.pod                              [doc]
+docs/pdds/draft/pdd10_embedding.pod                         [doc]
+docs/pdds/draft/pdd11_extending.pod                         [doc]
+docs/pdds/draft/pdd14_numbers.pod                           [doc]
+docs/pdds/draft/pdd16_native_call.pod                       [doc]
+docs/pdds/draft/pdd29_compiler_tools.pod                    [doc]
+docs/pdds/draft/pdd31_hll.pod                               [doc]
+docs/pdds/draft/pdd31_hll_interop.pod                       [doc]
+docs/pdds/pdd00_pdd.pod                                     [doc]
+docs/pdds/pdd03_calling_conventions.pod                     [doc]
+docs/pdds/pdd07_codingstd.pod                               [doc]
+docs/pdds/pdd09_gc.pod                                      [doc]
+docs/pdds/pdd13_bytecode.pod                                [doc]
+docs/pdds/pdd15_object_metamodel.png                        [doc]
+docs/pdds/pdd15_object_metamodel.svg                        [doc]
+docs/pdds/pdd15_objects.pod                                 [doc]
+docs/pdds/pdd17_pmc.pod                                     [doc]
+docs/pdds/pdd18_security.pod                                [doc]
+docs/pdds/pdd19_pir.pod                                     [doc]
+docs/pdds/pdd20_lexical_vars.pod                            [doc]
+docs/pdds/pdd21_namespaces.pod                              [doc]
+docs/pdds/pdd22_io.pod                                      [doc]
+docs/pdds/pdd23_exceptions.pod                              [doc]
+docs/pdds/pdd24_events.pod                                  [doc]
+docs/pdds/pdd25_concurrency.pod                             [doc]
+docs/pdds/pdd26_ast.pod                                     [doc]
+docs/pdds/pdd27_multiple_dispatch.pod                       [doc]
+docs/pdds/pdd28_strings.pod                                 [doc]
+docs/pdds/pdd30_install.pod                                 [doc]
+docs/pdds/pdd_template.pod                                  [doc]
+docs/pmc.pod                                                [doc]
+docs/pmc/array.pod                                          [doc]
+docs/pmc/documentation.pod                                  [doc]
+docs/pmc/struct.pod                                         [doc]
+docs/pmc/subs.pod                                           [doc]
+docs/pmc2c.pod                                              [doc]
+docs/porting_intro.pod                                      [doc]
+docs/project/branching_guide.pod                            [doc]
+docs/project/cage_cleaners_guide.pod                        [doc]
+docs/project/committer_guide.pod                            [doc]
+docs/project/debian_packaging_guide.pod                     [doc]
+docs/project/metacommitter_guide.pod                        [doc]
+docs/project/release_manager_guide.pod                      [doc]
+docs/project/roles_responsibilities.pod                     [doc]
+docs/project/support_policy.pod                             [doc]
+docs/project/ticket_triaging.pod                            [doc]
+docs/project/ubuntu_packaging_guide.pod                     [doc]
+docs/req/model_users.pod                                    [doc]
+docs/resources/favicon.ico                                  [doc]
+docs/resources/parrot.css                                   [doc]
+docs/resources/parrot_logo.png                              [doc]
+docs/resources/up.gif                                       [doc]
+docs/running.pod                                            [doc]
+docs/stability.pod                                          [doc]
+docs/submissions.pod                                        [doc]
+docs/tests.pod                                              [doc]
+docs/user/pir/exceptions.pod                                [doc]
+docs/user/pir/intro.pod                                     [doc]
+docs/user/pir/objects.pod                                   [doc]
+docs/user/pir/pmcs.pod                                      [doc]
+docs/vtables.pod                                            [doc]
 editor/README.pod                                           []doc
 editor/filetype_parrot.vim                                  []
 editor/indent_pir.vim                                       []
@@ -561,7 +561,7 @@
 editor/pmc.vim                                              []
 editor/skeleton.pir                                         []
 editor/subversion_config                                    []
-examples/README                                             []doc
+examples/README                                             [examples]
 examples/benchmarks/addit.pasm                              [examples]
 examples/benchmarks/addit.pir                               [examples]
 examples/benchmarks/addit.pl                                [examples]
@@ -661,7 +661,7 @@
 examples/embed/cotorra.c                                    [examples]
 examples/io/http.pir                                        [examples]
 examples/io/httpd.pir                                       [examples]
-examples/japh/README                                        []doc
+examples/japh/README                                        [examples]
 examples/japh/japh1.pasm                                    [examples]
 examples/japh/japh3.pasm                                    [examples]
 examples/japh/japh4.pasm                                    [examples]
@@ -669,7 +669,7 @@
 examples/json/postalcodes.pir                               [examples]
 examples/json/test.pir                                      [examples]
 examples/languages/abc/MAINTAINER                           [examples]
-examples/languages/abc/README                               []doc
+examples/languages/abc/README                               [examples]
 examples/languages/abc/TODO                                 [examples]
 examples/languages/abc/abc.pir                              [examples]
 examples/languages/abc/setup.pir                            [examples]
@@ -682,7 +682,7 @@
 examples/languages/abc/t/abc_special_variables              [examples]
 examples/languages/abc/t/abc_statement                      [examples]
 examples/languages/squaak/MAINTAINER                        [examples]
-examples/languages/squaak/README                            []doc
+examples/languages/squaak/README                            [examples]
 examples/languages/squaak/doc/tutorial_episode_1.pod        [examples]
 examples/languages/squaak/doc/tutorial_episode_2.pod        [examples]
 examples/languages/squaak/doc/tutorial_episode_3.pod        [examples]
@@ -706,7 +706,7 @@
 examples/library/md5sum.pir                                 [examples]
 examples/library/ncurses_life.pir                           [examples]
 examples/library/pcre.pir                                   [examples]
-examples/mops/README                                        []doc
+examples/mops/README                                        [examples]
 examples/mops/mops.c                                        [examples]
 examples/mops/mops.cs                                       [examples]
 examples/mops/mops.il                                       [examples]
@@ -747,7 +747,7 @@
 examples/pge/demo.pir                                       [examples]
 examples/pir/befunge/Changes                                [examples]
 examples/pir/befunge/MAINTAINER                             [examples]
-examples/pir/befunge/README                                 []doc
+examples/pir/befunge/README                                 [examples]
 examples/pir/befunge/befunge.pir                            [examples]
 examples/pir/befunge/debug.pir                              [examples]
 examples/pir/befunge/flow.pir                               [examples]
@@ -788,7 +788,7 @@
 examples/sdl/bounce_parrot_logo.pir                         [examples]
 examples/sdl/lcd/clock.pir                                  [examples]
 examples/sdl/mandel.pir                                     [examples]
-examples/sdl/minesweeper/README                             []doc
+examples/sdl/minesweeper/README                             [examples]
 examples/sdl/minesweeper/eventhandler.pir                   [examples]
 examples/sdl/minesweeper/field.pir                          [examples]
 examples/sdl/minesweeper/mines.pir                          [examples]
@@ -798,7 +798,7 @@
 examples/sdl/move_parrot_logo.pir                           [examples]
 examples/sdl/parrot_small.png                               [examples]
 examples/sdl/raw_pixels.pir                                 [examples]
-examples/sdl/tetris/README                                  []doc
+examples/sdl/tetris/README                                  [examples]
 examples/sdl/tetris/app.pir                                 [examples]
 examples/sdl/tetris/block.pir                               [examples]
 examples/sdl/tetris/blockdata.pir                           [examples]
@@ -807,7 +807,7 @@
 examples/sdl/tetris/boarddata.pir                           [examples]
 examples/sdl/tetris/eventhandler.pir                        [examples]
 examples/sdl/tetris/tetris.pir                              [examples]
-examples/shootout/README                                    []doc
+examples/shootout/README                                    [examples]
 examples/shootout/ack.pir                                   [examples]
 examples/shootout/ack.pir_output                            [examples]
 examples/shootout/binarytrees.pir                           [examples]
@@ -874,14 +874,14 @@
 examples/subs/pasm_sub1.pasm                                [examples]
 examples/subs/single_retval.pir                             [examples]
 examples/tcl/tcltkdemo.pir                                  [examples]
-examples/tge/README                                         []doc
+examples/tge/README                                         [examples]
 examples/tge/branch/branch.g                                [examples]
 examples/tge/branch/lib/Branch.pir                          [examples]
 examples/tge/branch/lib/Leaf.pir                            [examples]
 examples/tge/branch/transform.pir                           [examples]
 examples/tools/Makefile                                     [examples]
 examples/tools/pbc_checker.cpp                              [examples]
-examples/tutorial/00_README.pod                             []doc
+examples/tutorial/00_README.pod                             [examples]
 examples/tutorial/01_temp_var.pir                           [examples]
 examples/tutorial/02_local_var.pir                          [examples]
 examples/tutorial/03_temp_var_basic_pmcs.pir                [examples]

Modified: trunk/MANIFEST.generated
==============================================================================
--- trunk/MANIFEST.generated	Thu Jan  7 08:34:11 2010	(r43405)
+++ trunk/MANIFEST.generated	Thu Jan  7 17:04:44 2010	(r43406)
@@ -13,24 +13,24 @@
 compilers/json/JSON/pge2pir.pbc                   [json]
 compilers/nqp/nqp.pbc                             [nqp]
 config/gen/call_list/opengl.in                    []
-docs/ops/bit.pod                                  [main]doc
-docs/ops/cmp.pod                                  [main]doc
-docs/ops/core.pod                                 [main]doc
-docs/ops/debug.pod                                [main]doc
-docs/ops/dotgnu.pod                               [main]doc
-docs/ops/experimental.pod                         [main]doc
-docs/ops/io.pod                                   [main]doc
-docs/ops/math.pod                                 [main]doc
-docs/ops/object.pod                               [main]doc
-docs/ops/obscure.pod                              [main]doc
-docs/ops/pic.pod                                  [main]doc
-docs/ops/pmc.pod                                  [main]doc
-docs/ops/python.pod                               [main]doc
-docs/ops/set.pod                                  [main]doc
-docs/ops/stack.pod                                [main]doc
-docs/ops/string.pod                               [main]doc
-docs/ops/sys.pod                                  [main]doc
-docs/ops/var.pod                                  [main]doc
+docs/ops/bit.pod                                  [doc]
+docs/ops/cmp.pod                                  [doc]
+docs/ops/core.pod                                 [doc]
+docs/ops/debug.pod                                [doc]
+docs/ops/dotgnu.pod                               [doc]
+docs/ops/experimental.pod                         [doc]
+docs/ops/io.pod                                   [doc]
+docs/ops/math.pod                                 [doc]
+docs/ops/object.pod                               [doc]
+docs/ops/obscure.pod                              [doc]
+docs/ops/pic.pod                                  [doc]
+docs/ops/pmc.pod                                  [doc]
+docs/ops/python.pod                               [doc]
+docs/ops/set.pod                                  [doc]
+docs/ops/stack.pod                                [doc]
+docs/ops/string.pod                               [doc]
+docs/ops/sys.pod                                  [doc]
+docs/ops/var.pod                                  [doc]
 include/parrot/config.h                           [main]include
 include/parrot/core_pmcs.h                        [main]include
 include/parrot/exec_dep.h                         [main]include

Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in	Thu Jan  7 08:34:11 2010	(r43405)
+++ trunk/config/gen/makefiles/root.in	Thu Jan  7 17:04:44 2010	(r43406)
@@ -745,6 +745,7 @@
 	@echo "  install-dev:       Same as 'install'."
 	@echo "  install-bin:       Install only files needed for Parrot runtime."
 	@echo "  install-dev-only:  Install only files needed for Parrot development."
+	@echo "  install-doc:       Install documentation files & examples."
 	@echo ""
 	@echo "Documentation:"
 	@echo "  help:              Print this help message."

Modified: trunk/lib/Parrot/Manifest.pm
==============================================================================
--- trunk/lib/Parrot/Manifest.pm	Thu Jan  7 08:34:11 2010	(r43405)
+++ trunk/lib/Parrot/Manifest.pm	Thu Jan  7 17:04:44 2010	(r43406)
@@ -229,12 +229,10 @@
         $loc =
               exists( $special->{$_} ) ? $special->{$_}
             : !m[/]                           ? '[]'
-            : m[README]                       ? '[]doc'
-            : m[^docs/user/]                  ? '[main]doc'
-            : m[^docs/ops/]                   ? '[main]doc'
-            : m[^docs/pmc/]                   ? '[main]doc'
-            : m[^docs/pct/]                   ? '[pct]doc'
+            : m[^docs/book/draft/]            ? '[]'
+            : m[^docs/]                       ? '[doc]'
             : m[^examples/]                   ? '[examples]'
+            : m[README]                       ? '[]doc'
             : m[^include/]                    ? '[main]include'
             : m[^t/]                          ? '[test]'
             : m[/t/]                          ? '[test]'
@@ -246,11 +244,9 @@
             : m[^src/pmc/.*\.pmc]             ? '[devel]src'
             : m[^src/dynpmc/.*\.pmc]          ? '[devel]src'
             : m[^runtime/parrot/library/PCT]  ? '[pct]'
-            : m[^docs/pct]                    ? '[pct]doc'
             : m[^runtime/parrot/library/PCT]  ? '[pge]'
             : m[^runtime/parrot/library/TGE]  ? '[tge]'
             : m[^runtime/parrot/library/JSON] ? '[json]'
-            : m[^docs/project]                ? '[devel]doc'
             :                                   '[]'; # default
     }
 
@@ -260,27 +256,24 @@
 # See comments for _get_manifest_entry, above
 sub _get_special {
     my %special = qw(
+        CREDITS                                         [main]doc
+        DEPRECATED.pod                                  [devel]doc
+        DONORS.pod                                      [main]doc
         LICENSE                                         [main]doc
         NEWS                                            [main]doc
         PBC_COMPAT                                      [main]doc
         PLATFORMS                                       [devel]doc
         README                                          [devel]doc
-        README.win32.pod                                [devel]doc
-        README.win32.pod                                [devel]doc
+        README_win32.pod                                [devel]doc
+        README_cygwin.pod                               [devel]doc
         RESPONSIBLE_PARTIES                             [main]doc
-        parrot-config                                   [main]bin
-        docs/faq.pod                                    [main]doc
-        docs/gettingstarted.pod                         [main]doc
-        docs/glossary.pod                               [main]doc
-        docs/intro.pod                                  [main]doc
-        docs/compiler_faq.pod                           [devel]doc
-        docs/debug.pod                                  [devel]doc
-        docs/pmc2c.pod                                  [devel]doc
-        docs/vtables.pod                                [devel]doc
+        TODO                                            [devel]doc
+        VERSION                                         [devel]
         languages/t/harness                             [test]
+        lib/File/Which.pm                               [devel]lib
+        parrot-config                                   [main]bin
         src/ops/ops.num                                 [devel]src
         src/vtable.tbl                                  [devel]src
-        VERSION                                         [devel]
         tools/build/ops2c.pl                            [devel]
         tools/build/pmc2c.pl                            [devel]
         tools/dev/mk_language_shell.pl                  [devel]
@@ -288,7 +281,6 @@
         tools/dev/pbc_to_exe.pir                        [devel]
         tools/dev/gen_makefile.pl                       [devel]
         tools/dev/reconfigure.pl                        [devel]
-        lib/File/Which.pm                               [devel]lib
     );
 
     return \%special;

Modified: trunk/tools/dev/install_dev_files.pl
==============================================================================
--- trunk/tools/dev/install_dev_files.pl	Thu Jan  7 08:34:11 2010	(r43405)
+++ trunk/tools/dev/install_dev_files.pl	Thu Jan  7 17:04:44 2010	(r43406)
@@ -143,7 +143,6 @@
         optiondir => 'doc',
         transform => sub {
             my($filehash) = @_;
-            $filehash->{Dest} =~ s/^docs/pod/; # other docs are actually raw Pod
             $filehash->{DestDirs} = [$parrotdir];
             return($filehash);
         },

Modified: trunk/tools/dev/install_doc_files.pl
==============================================================================
--- trunk/tools/dev/install_doc_files.pl	Thu Jan  7 08:34:11 2010	(r43405)
+++ trunk/tools/dev/install_doc_files.pl	Thu Jan  7 17:04:44 2010	(r43406)
@@ -80,7 +80,7 @@
     srcdir      => '/usr/src/',      # parrot/ subdir added below
     versiondir  => '',
     'dry-run'   => 0,
-    packages    => 'examples',
+    packages    => 'doc|examples',
 );
 
 my @manifests;
@@ -96,8 +96,18 @@
 my $parrotdir = $options{versiondir};
 
 # Set up transforms on filenames
-my(@transformorder) = (qw(examples));
+my(@transformorder) = (qw(doc examples));
 my(%metatransforms) = (
+    doc => {
+        optiondir => 'doc',
+        transform => sub {
+            my($filehash) = @_;
+            $filehash->{Dest} =~ s#^docs/resources#resources#; # resources go in the top level of docs
+            $filehash->{Dest} =~ s/^docs/pod/; # other docs are actually raw Pod
+            $filehash->{DestDirs} = [$parrotdir];
+            return($filehash);
+        },
+    },
     examples => {
         optiondir => 'doc',
         transform => sub {

Modified: trunk/tools/dev/install_files.pl
==============================================================================
--- trunk/tools/dev/install_files.pl	Thu Jan  7 08:34:11 2010	(r43405)
+++ trunk/tools/dev/install_files.pl	Thu Jan  7 17:04:44 2010	(r43406)
@@ -148,8 +148,6 @@
         optiondir => 'doc',
         transform => sub {
             my($filehash) = @_;
-            $filehash->{Dest} =~ s#^docs/resources#resources#; # resources go in the top level of docs
-            $filehash->{Dest} =~ s/^docs/pod/; # other docs are actually raw Pod
             $filehash->{DestDirs} = [$parrotdir];
             return($filehash);
         },


More information about the parrot-commits mailing list