[rt #40817] track generated files, no manual MANIFEST.generated #890

Closed
rurban opened this Issue Dec 19, 2012 · 3 comments

Projects

None yet

1 participant

@rurban
Member
rurban commented Dec 19, 2012

MANIFEST.generated should be generated during the build.
MANIFEST_configure.generated can also be obsoleted, as one generated MANIFEST should be enough.

MANIFEST.generated contains the install section and dir meta information.

See http://code.google.com/p/cygwin-rurban/source/browse/trunk/release/parrot/patches/rt40817-track-generated-files.patch for my old patch

add_to_generated($filename, $section, $dir) is called from the Makefile shell via tools/build/addgenerated.pl,
and from $conf directly.

See the branch rurban/track-generated-gh890

@rurban rurban was assigned Dec 19, 2012
@rurban
Member
rurban commented Dec 24, 2012

With ce465133f797275d5a89db5848593f85074dd5a4 the changes are as following:

Comparison from old manual MANIFEST.generated.orig to generated MANIFEST.generated:

Added all previous MANIFEST_configure.generated entries, esp. Makefiles.
Moved include/parrot/pbcversion.h from devel to main. (used by config.h)
Fixed a typo in YAML/Dumper/*.pmc
Added previously missing entries.
Removed invalid and outdated entries.

Changes:

-runtime/parrot/library/YAML/Dumper/Base.pmc      [main]
-runtime/parrot/library/YAML/Dumper/Default.pmc   [main]
+runtime/parrot/library/YAML/Dumper/Base.pbc      [main]
+runtime/parrot/library/YAML/Dumper/Default.pbc   [main]

-include/parrot/pbcversion.h                      [devel]include
+include/parrot/pbcversion.h                      [main]include

-src/glut_callbacks.c                             []
+src/glut_callbacks.c                             [devel]src

New:

+compilers/tge/tgc.pbc                            [main]
+compilers/tge/TGE/Parser.pir                     [tge]
+config_lib.pir                                   [devel]src
+docs/binaries/ops2c.1                            [main]man
+docs/binaries/parrot-nqp.1                       [main]man
+docs/binaries/parrot-prove.1                     [main]man
+docs/binaries/parrot.1                           [main]man
+docs/binaries/parrot_config.1                    [main]man
+docs/binaries/parrot_nci_thunk_gen.1             [main]man
+docs/binaries/parrotbug.1                        [main]man
+docs/binaries/pbc_to_exe.1                       [main]man
+docs/binaries/plumage.1                          [main]man
+docs/binaries/winxed.1                           [main]man
+docs/ops/index.pod                               [doc]
+docs/packfile-c.pod                              [doc]
+include/pmc/pmc_packfile.h                       [devel]include
+include/pmc/pmc_ptr.h                            [devel]include
+include/pmc/pmc_string.h                         [devel]include
+runtime/parrot/dynext/foo_group.bundle           [library]
+runtime/parrot/dynext/pccmethod_test.bundle      [library]
+runtime/parrot/dynext/rotest.bundle              [library]
+runtime/parrot/dynext/subproxy.bundle            [library]
+runtime/parrot/include/cloneflags.pasm           [main]
+runtime/parrot/include/packfile_annotation_key_type.pasm [main]
+runtime/parrot/include/packfile_segments.pasm    [main]
+runtime/parrot/library/NCI/Utils.pbc             [main]
+runtime/parrot/library/ncurses.pbc               [main]
+runtime/parrot/library/nqp-rx.pbc                [nqp]
+runtime/parrot/library/nqp-setting.pbc           [nqp]
+runtime/parrot/library/OpenGL/Math.pbc           [main]
+runtime/parrot/library/P6Regex.pbc               [main]
+runtime/parrot/library/Parrot/Coroutine.pbc      [main]
+runtime/parrot/library/Parrot/Exception.pbc      [main]
+runtime/parrot/library/parrotlib.pbc             [main]
+runtime/parrot/library/pcore.pbc                 [main]
+runtime/parrot/library/pcre.pbc                  [main]
+runtime/parrot/library/PCT/Dumper.pbc            [main]
+runtime/parrot/library/ProfTest.pbc              [main]
+runtime/parrot/library/ProfTest/Matcher.pbc      [main]
+runtime/parrot/library/ProfTest/Matcher.pir      [main]
+runtime/parrot/library/ProfTest/NQPProfile.pbc   [main]
+runtime/parrot/library/ProfTest/NQPProfile.pir   [main]
+runtime/parrot/library/ProfTest/PIRProfile.pbc   [main]
+runtime/parrot/library/ProfTest/PIRProfile.pir   [main]
+runtime/parrot/library/ProfTest/Want.pbc         [main]
+runtime/parrot/library/ProfTest/Want.pir         [main]
+runtime/parrot/library/String/Utils.pbc          [main]
+runtime/parrot/library/URI/Escape.pbc            [main]
+runtime/parrot/library/postgres.pbc              [main]
+runtime/parrot/library/yaml_dumper.pbc           [main]
+src/core_pmcs.c                                  []
+src/dynpmc/foo_group.c                           []
+src/dynpmc/foo_group.h                           [devel]include
+src/dynpmc/pmc_dynlexpad.h                       [devel]include
+src/dynpmc/pmc_file.h                            [devel]include
+src/dynpmc/pmc_foo.h                             [devel]include
+src/dynpmc/pmc_foo2.h                            [devel]include
+src/dynpmc/pmc_gziphandle.h                      [devel]include
+src/dynpmc/pmc_osdummy.h                         [devel]include
+src/dynpmc/pmc_pccmethod_test.h                  [devel]include
+src/dynpmc/pmc_rational.h                        [devel]include
+src/dynpmc/pmc_rotest.h                          [devel]include
+src/dynpmc/pmc_select.h                          [devel]include
+src/dynpmc/pmc_subproxy.h                        [devel]include
+src/glut_nci_thunks.nci                          []
+src/string/private_cstring.h                     []

Removed:

-config/gen/call_list/opengl.in                   []
-docs/ops/debug.pod                               [doc]
-docs/ops/dotgnu.pod                              [doc]
-docs/ops/obscure.pod                             [doc]
-docs/ops/pic.pod                                 [doc]
-docs/ops/stack.pod                               [doc]
-include/parrot/exec_dep.h                        [main]include
-include/pmc/pmc_codestring.h                     [devel]include
-include/pmc/pmc_context.h                        [devel]include
-include/pmc/pmc_packfilefixupentry.h             [devel]include
-include/pmc/pmc_packfilefixuptable.h             [devel]include
-include/pmc/pmc_select.h                         [devel]include
-runtime/parrot/include/iotypes.pasm              [main]
-runtime/parrot/include/parrot_version.pir        [main]
-runtime/parrot/include/signal.pasm               [main]
-runtime/parrot/include/vtable_methods.pasm       [main]
-runtime/parrot/library/Data/Replace.pbc          [main]
-runtime/parrot/library/HTTP/Daemon.pbc           [main]
-runtime/parrot/library/NCI/call_toolkit_init.pbc [main]
-runtime/parrot/library/Parrot/Capture_PIR.pbc    [main]
-runtime/parrot/library/Parrot/HLLCompiler.pbc    [main]
-runtime/parrot/library/Protoobject.pbc           [main]
-src/call_list.txt                                [devel]src
-src/jit_emit.h                                   []
-src/nci.c                                        []
-src/pmc/codestring.dump                          [devel]src
-src/pmc/packfilefixupentry.dump                  [devel]src
-src/pmc/packfilefixuptable.dump                  [devel]src
-src/pmc/select.dump                              [devel]src
-src/string_private_cstring.h                     []
-tools/build/dynpmc.pl                            []
-tools/dev/testnumbers                            [devel]
-tools/dev/testnumbers.bat                        [devel]
@rurban
Member
rurban commented Dec 24, 2012

The branch rurban/track-generated-gh890 is now ready to be merged. Please review

@rurban rurban pushed a commit that referenced this issue Dec 24, 2012
Reini Urban ChangeLog for docs/ops and #890 rurban/track-generated-gh890 7306645
@rurban rurban pushed a commit that referenced this issue Dec 26, 2012
Reini Urban [GH #890] Generate MANIFEST.generate, remove MANIFEST_configure.gener…
…ated

Some files are still missing.
add_to_generated($filename, $section, $dir) is called from the Makefile
shell via tools/build/addgenerated.pl, and from $conf directly.

Improve docs Makefile
2be29e8
@rurban rurban pushed a commit that referenced this issue Dec 26, 2012
Reini Urban [GH #890] Add missing MANIFEST.generated files, cleanup
Also move MAN_1 to docs, and improved clean targets

Comparison from old manual MANIFEST.generated.orig to generated
MANIFEST.generated:
Added all previous MANIFEST_configure.generated entries, esp. Makefiles.
Moved include/parrot/pbcversion.h from devel to main. (used by config.h)
Removed invalid and outdated entries.
Added previously missing entries.

+compilers/tge/tgc.pbc                            [main]
+config_lib.pir                                   [devel]
+docs/binaries/ops2c.1                            [main]man
+docs/binaries/parrot-nqp.1                       [main]man
+docs/binaries/parrot-prove.1                     [main]man
+docs/binaries/parrot.1                           [main]man
+docs/binaries/parrot_config.1                    [main]man
+docs/binaries/parrot_nci_thunk_gen.1             [main]man
+docs/binaries/parrotbug.1                        [main]man
+docs/binaries/pbc_to_exe.1                       [main]man
+docs/binaries/plumage.1                          [main]man
+docs/binaries/winxed.1                           [main]man
+docs/ops/index.pod                               [doc]
+docs/packfile-c.pod                              [doc]
+foo_group.h                                      [devel]include
+include/parrot/pbcversion.h                      [main]include
+install_config.o                                 [main]lib
+runtime/parrot/dynext/foo_group.bundle           [library]
+runtime/parrot/dynext/pccmethod_test.bundle      [library]
+runtime/parrot/dynext/rotest.bundle              [library]
+runtime/parrot/dynext/subproxy.bundle            [library]
+runtime/parrot/include/cloneflags.pasm           [main]
+runtime/parrot/include/packfile_annotation_key_type.pasm [main]
+runtime/parrot/include/packfile_segments.pasm    [main]
+runtime/parrot/library/NCI/Utils.pbc             [main]
+runtime/parrot/library/OpenGL/Math.pbc           [main]
+runtime/parrot/library/PCT/Dumper.pbc            [main]
+runtime/parrot/library/ProfTest.pbc              [main]
+runtime/parrot/library/ProfTest/Matcher.pbc      [main]
+runtime/parrot/library/ProfTest/Matcher.pir      [main]
+runtime/parrot/library/ProfTest/NQPProfile.pbc   [main]
+runtime/parrot/library/ProfTest/NQPProfile.pir   [main]
+runtime/parrot/library/ProfTest/PIRProfile.pbc   [library]
+runtime/parrot/library/ProfTest/PIRProfile.pir   [main]
+runtime/parrot/library/ProfTest/Want.pbc         [main]
+runtime/parrot/library/ProfTest/Want.pir         [main]
+runtime/parrot/library/String/Utils.pbc          [main]
+runtime/parrot/library/URI/Escape.pbc            [main]
+runtime/parrot/library/YAML/Dumper/Base.pbc      [main]
+runtime/parrot/library/YAML/Dumper/Default.pbc   [main]
+runtime/parrot/library/postgres.pbc              [main]
+runtime/parrot/library/yaml_dumper.pbc           [main]
+src/core_pmcs.c                                  []
+src/dynpmc/pmc_dynlexpad.h                       [devel]include
+src/dynpmc/pmc_file.h                            [devel]include
+src/dynpmc/pmc_foo.h                             [devel]include
+src/dynpmc/pmc_foo2.h                            [devel]include
+src/dynpmc/pmc_gziphandle.h                      [devel]include
+src/dynpmc/pmc_osdummy.h                         [devel]include
+src/dynpmc/pmc_pccmethod_test.h                  [devel]include
+src/dynpmc/pmc_rational.h                        [devel]include
+src/dynpmc/pmc_rotest.h                          [devel]include
+src/dynpmc/pmc_select.h                          [devel]include
+src/dynpmc/pmc_subproxy.h                        [devel]include
+src/glut_callbacks.c                             [devel]src
+src/glut_nci_thunks.nci                          [main]
+src/string/private_cstring.h                     []

-docs/ops/debug.pod                               [doc]
-docs/ops/dotgnu.pod                              [doc]
-docs/ops/obscure.pod                             [doc]
-docs/ops/pic.pod                                 [doc]
-docs/ops/stack.pod                               [doc]
-include/parrot/exec_dep.h                        [main]include
-include/parrot/pbcversion.h                      [devel]include
-include/pmc/pmc_codestring.h                     [devel]include
-include/pmc/pmc_context.h                        [devel]include
-include/pmc/pmc_packfilefixupentry.h             [devel]include
-include/pmc/pmc_packfilefixuptable.h             [devel]include
-include/pmc/pmc_select.h                         [devel]include
-runtime/parrot/include/iotypes.pasm              [main]
-runtime/parrot/include/parrot_version.pir        [main]
-runtime/parrot/include/signal.pasm               [main]
-runtime/parrot/include/vtable_methods.pasm       [main]
-runtime/parrot/library/Data/Replace.pbc          [main]
-runtime/parrot/library/HTTP/Daemon.pbc           [main]
-runtime/parrot/library/NCI/call_toolkit_init.pbc [main]
-runtime/parrot/library/PGE/Hs.pbc                [main]
-runtime/parrot/library/Parrot/Capture_PIR.pbc    [main]
-runtime/parrot/library/Parrot/HLLCompiler.pbc    [main]
-runtime/parrot/library/Protoobject.pbc           [main]
-runtime/parrot/library/YAML/Dumper/Base.pmc      [main]
-runtime/parrot/library/YAML/Dumper/Default.pmc   [main]
-src/call_list.txt                                [devel]src
-src/glut_callbacks.c                             []
-src/install_config.obj                           [main]lib
-src/jit_emit.h                                   []
-src/nci.c                                        []
-src/pmc/codestring.dump                          [devel]src
-src/pmc/packfilefixupentry.dump                  [devel]src
-src/pmc/packfilefixuptable.dump                  [devel]src
-src/pmc/select.dump                              [devel]src
-src/string_private_cstring.h                     []
-tools/build/dynpmc.pl                            []
-tools/dev/testnumbers                            [devel]
-tools/dev/testnumbers.bat                        [devel]
b65a7d1
@rurban rurban pushed a commit that referenced this issue Dec 26, 2012
Reini Urban [GH #890] install tgc.pbc as library, install PGE/Hs.pbc, TGE/Parser.pir
Fix some more installations, previously missing
5183ac7
@rurban rurban pushed a commit that referenced this issue Dec 26, 2012
Reini Urban [GH #890] install src/dynpmc/foo_group.h
Do not add_to_generated for pmc libraries (groups), as we do not know
where the user wants it. Use $(ADDGENERATED) in the src/dynpmc/Rules.in instead
00bc58f
@rurban
Member
rurban commented Dec 26, 2012

Merged with 3b0d1af

Final diff sans platform specific files:
diff -u0 MANIFEST.generated.orig MANIFEST.generated |grep -v '^@@ '|grep -v '#'|grep -v '[]'

+compilers/tge/tgc.pbc                            [main]
+compilers/tge/TGE/Parser.pir                     [tge]
+config_lib.pir                                   [devel]src
+docs/binaries/ops2c.1                            [main]man
+docs/binaries/parrot.1                           [main]man
+docs/binaries/parrotbug.1                        [main]man
+docs/binaries/parrot_config.1                    [main]man
+docs/binaries/parrot_nci_thunk_gen.1             [main]man
+docs/binaries/parrot-nqp.1                       [main]man
+docs/binaries/parrot-prove.1                     [main]man
+docs/binaries/pbc_to_exe.1                       [main]man
+docs/binaries/plumage.1                          [main]man
+docs/binaries/winxed.1                           [main]man
-docs/ops/debug.pod                               [doc]
-docs/ops/dotgnu.pod                              [doc]
+docs/ops/index.pod                               [doc]
-docs/ops/obscure.pod                             [doc]
-docs/ops/pic.pod                                 [doc]
-docs/ops/python.pod                              [doc]
-docs/ops/stack.pod                               [doc]
+docs/packfile-c.pod                              [doc]
-include/parrot/exec_dep.h                        [main]include
-include/parrot/pbcversion.h                      [devel]include
+include/parrot/pbcversion.h                      [main]include
-include/pmc/pmc_codestring.h                     [devel]include
-include/pmc/pmc_context.h                        [devel]include
-include/pmc/pmc_packfilefixupentry.h             [devel]include
-include/pmc/pmc_packfilefixuptable.h             [devel]include
-include/pmc/pmc_select.h                         [devel]include
+install_config.o                                 [main]lib
+runtime/parrot/dynext/foo_group.so               [library]
+runtime/parrot/dynext/pccmethod_test.so          [library]
+runtime/parrot/dynext/rotest.so                  [library]
+runtime/parrot/dynext/subproxy.so                [library]
+runtime/parrot/include/cloneflags.pasm           [main]
-runtime/parrot/include/iotypes.pasm              [main]
+runtime/parrot/include/packfile_annotation_keytype.pasm [main]
-runtime/parrot/include/parrot_version.pir        [main]
-runtime/parrot/include/signal.pasm               [main]
-runtime/parrot/include/vtable_methods.pasm       [main]
-runtime/parrot/library/config.pir                [main]
-runtime/parrot/library/Data/Replace.pbc          [main]
-runtime/parrot/library/HTTP/Daemon.pbc           [main]
-runtime/parrot/library/NCI/call_toolkit_init.pbc [main]
+runtime/parrot/library/NCI/Utils.pbc             [main]
+runtime/parrot/library/OpenGL/Math.pbc           [main]
-runtime/parrot/library/Parrot/Capture_PIR.pbc    [main]
-runtime/parrot/library/Parrot/HLLCompiler.pbc    [main]
+runtime/parrot/library/PCT/Dumper.pbc            [main]
-runtime/parrot/library/Protoobject.pbc           [main]
+runtime/parrot/library/postgres.pbc              [main]
+runtime/parrot/library/ProfTest/Matcher.pbc      [main]
+runtime/parrot/library/ProfTest/Matcher.pir      [main]
+runtime/parrot/library/ProfTest/NQPProfile.pbc   [main]
+runtime/parrot/library/ProfTest/NQPProfile.pir   [main]
+runtime/parrot/library/ProfTest.pbc              [main]
+runtime/parrot/library/ProfTest/PIRProfile.pbc   [main]
+runtime/parrot/library/ProfTest/PIRProfile.pir   [main]
+runtime/parrot/library/ProfTest/Want.pbc         [main]
+runtime/parrot/library/ProfTest/Want.pir         [main]
+runtime/parrot/library/String/Utils.pbc          [main]
+runtime/parrot/library/URI/Escape.pbc            [main]
-runtime/parrot/library/YAML/Dumper/Base.pmc      [main]
-runtime/parrot/library/YAML/Dumper/Default.pmc   [main]
+runtime/parrot/library/YAML/Dumper/Base.pbc      [main]
+runtime/parrot/library/YAML/Dumper/Default.pbc   [main]
+runtime/parrot/library/yaml_dumper.pbc           [main]
-src/call_list.txt                                [devel]src
+src/dynpmc/foo_group.h                           [devel]include
+src/dynpmc/pmc_dynlexpad.h                       [devel]include
+src/dynpmc/pmc_file.h                            [devel]include
+src/dynpmc/pmc_foo2.h                            [devel]include
+src/dynpmc/pmc_foo.h                             [devel]include
+src/dynpmc/pmc_gziphandle.h                      [devel]include
+src/dynpmc/pmc_osdummy.h                         [devel]include
+src/dynpmc/pmc_pccmethod_test.h                  [devel]include
+src/dynpmc/pmc_rational.h                        [devel]include
+src/dynpmc/pmc_rotest.h                          [devel]include
+src/dynpmc/pmc_select.h                          [devel]include
+src/dynpmc/pmc_subproxy.h                        [devel]include
+src/glut_callbacks.c                             [devel]src
-src/pmc/codestring.dump                          [devel]src
-src/pmc/packfilefixupentry.dump                  [devel]src
-src/pmc/packfilefixuptable.dump                  [devel]src
-src/pmc/select.dump                              [devel]src
-tools/dev/testnumbers.bat                        [devel]
-tools/dev/testnumbers                            [devel]
@rurban rurban closed this Dec 26, 2012
@rurban rurban pushed a commit that referenced this issue Dec 26, 2012
Reini Urban [GH #890] rename MANIFEST_configure.generated to MANIFEST.generated i…
…n .gitignore
abb5cf6
@rurban rurban pushed a commit that referenced this issue Dec 31, 2012
Reini Urban [cage][GH #890] Do not install test dynpmcs: foo,foo2,foo_group,rotes…
…t,pccmethod_test

Do not install those headers nor shared libs
41bfe48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment