Permalink
Browse files

[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]
  • Loading branch information...
Reini Urban
Reini Urban committed Dec 24, 2012
1 parent 2be29e8 commit b65a7d1cfb0c09c790ba676cbc301f1e53bb2b5a
@@ -5,13 +5,16 @@ runtime/parrot/languages/data_json/data_json.pbc: compilers/data_json/data_json.
runtime/parrot/languages/JSON/JSON.pir: compilers/data_json/JSON.nqp $(NQP_RX)
$(MKPATH) runtime/parrot/languages/JSON
$(NQP_RX) --target=pir compilers/data_json/JSON.nqp > $@
+ @$(ADDGENERATED) "$@" "[data_json]"
compilers/data_json/data_json.pbc : \
$(LIBRARY_DIR)/PGE.pbc \
$(LIBRARY_DIR)/PGE/Util.pbc \
$(LIBRARY_DIR)/TGE.pbc \
compilers/data_json/data_json/grammar.pir \
compilers/data_json/data_json/pge2pir.pir
+ $(PARROT) -o $@ compilers/data_json/data_json.pir
+ @$(ADDGENERATED) "$@" "[data_json]"
compilers/data_json/data_json/grammar.pir : $(PARROT) \
compilers/data_json/data_json/grammar.pg \
View
@@ -1,5 +1,6 @@
$(LIBRARY_DIR)/opsc.pbc: $(NQP_RX) $(OPSC_SOURCES) $(NQPRX_LIB_SETTING)
$(PARROT) -o $(LIBRARY_DIR)/opsc.pbc $(OPSC_DIR)/opsc.pir
+ @$(ADDGENERATED) "$@" "[main]"
$(OPSC_DIR)/gen/Ops/Compiler.pir: $(OPSC_DIR)/src/Ops/Compiler.pm $(NQP_RX)
$(NQP_RX) --target=pir --output=$@ $(OPSC_DIR)/src/Ops/Compiler.pm
@@ -40,6 +41,7 @@ $(OPS2C): $(OPSC_DIR)/ops2c.nqp $(LIBRARY_DIR)/opsc.pbc $(NQP_RX) $(PBC_TO_EXE)
$(INSTALLABLEOPS2C): $(OPS2C) src/install_config$(O)
$(PBC_TO_EXE) ops2c.pbc --install
+ @$(ADDGENERATED) "$@" "[main]" bin
opsc: $(LIBRARY_DIR)/opsc.pbc
View
@@ -3,6 +3,7 @@
$(LIBRARY_DIR)/PCT.pbc : $(PARROT) compilers/pct/PCT.pir \
$(LIBRARY_DIR)/PCT/Grammar.pbc $(LIBRARY_DIR)/PCT/PAST.pbc
$(PARROT) -o $@ compilers/pct/PCT.pir
+ @$(ADDGENERATED) "$@" "[main]"
$(LIBRARY_DIR)/PCT/PAST.pbc : compilers/pct/src/PAST.pir $(PARROT) $(PBC_MERGE) \
$(LIBRARY_DIR)/PCT/HLLCompiler.pbc \
@@ -12,15 +13,17 @@ $(LIBRARY_DIR)/PCT/PAST.pbc : compilers/pct/src/PAST.pir $(PARROT) $(PBC_MERGE)
compilers/pct/src/POST/Node.pbc \
compilers/pct/src/POST/Compiler.pbc
$(PBC_MERGE) -o $@ \
- compilers/pct/src/PCT/Node.pbc \
- compilers/pct/src/PAST/Node.pbc \
- compilers/pct/src/PAST/Compiler.pbc \
- compilers/pct/src/POST/Node.pbc \
- compilers/pct/src/POST/Compiler.pbc
+ compilers/pct/src/PCT/Node.pbc \
+ compilers/pct/src/PAST/Node.pbc \
+ compilers/pct/src/PAST/Compiler.pbc \
+ compilers/pct/src/POST/Node.pbc \
+ compilers/pct/src/POST/Compiler.pbc
+ @$(ADDGENERATED) "$@" "[main]"
$(LIBRARY_DIR)/PCT/Grammar.pbc : compilers/pct/src/PCT/Grammar.pir $(PARROT) \
$(LIBRARY_DIR)/PGE.pbc $(LIBRARY_DIR)/PGE/Util.pbc
$(PARROT) -o $@ compilers/pct/src/PCT/Grammar.pir
+ @$(ADDGENERATED) "$@" "[main]"
$(LIBRARY_DIR)/PCT/HLLCompiler.pbc : compilers/pct/src/PCT/HLLCompiler.pir \
$(PARROT) \
@@ -32,9 +35,11 @@ $(LIBRARY_DIR)/PCT/HLLCompiler.pbc : compilers/pct/src/PCT/HLLCompiler.pir \
$(LIBRARY_DIR)/dumper.pbc \
$(LIBRARY_DIR)/PCT/Dumper.pbc
$(PARROT) -o $@ compilers/pct/src/PCT/HLLCompiler.pir
+ @$(ADDGENERATED) "$@" "[main]"
$(LIBRARY_DIR)/PCT/Dumper.pbc : compilers/pct/src/PCT/Dumper.pir $(PARROT)
$(PARROT) -o $@ compilers/pct/src/PCT/Dumper.pir
+ @$(ADDGENERATED) "$@" "[main]"
compilers/pct/src/PCT/Node.pbc : compilers/pct/src/PCT/Node.pir $(PARROT)
$(PARROT) -o $@ compilers/pct/src/PCT/Node.pir
View
@@ -12,6 +12,7 @@ $(LIBRARY_DIR)/PGE.pbc: $(PARROT) \
$(PARROT) -o $@ compilers/pge/PGE.pir
$(PARROT) $(LIBRARY_DIR)/PGE/Perl6Grammar.pir --output=compilers/pge/PGE/builtins_gen.pir compilers/pge/PGE/builtins.pg
$(PARROT) -o $@ compilers/pge/PGE.pir
+ $(ADDGENERATED) "$@" "[main]"
# Local variables:
# mode: makefile
View
@@ -9,6 +9,7 @@ $(LIBRARY_DIR)/TGE.pbc: \
compilers/tge/TGE/Compiler.pir \
compilers/tge/TGE/Tree.pir
$(PARROT) -o $@ compilers/tge/TGE.pir
+ $(ADDGENERATED) "$@" "[main]"
compilers/tge/tgc.pbc : $(LIBRARY_DIR)/TGE.pbc $(LIBRARY_DIR)/Getopt/Obj.pbc
View
@@ -67,16 +67,18 @@ E_NOTE
if ( $new_perldoc ) {
$TEMP_pod_build .= <<"END"
ops/$pod: ../src/ops/$ops
-\t\$(PERLDOC_BIN) -ud ops/$pod ../src/ops/$ops
+\t\$(PERLDOC) -ud ops/$pod ../src/ops/$ops
\t\$(CHMOD) 0644 ops/$pod
+\t\$(ADDGENERATED) "docs/\$\@" "[doc]"
END
}
else {
$TEMP_pod_build .= <<"END"
ops/$pod: ../src/ops/$ops
-\t\$(PERLDOC_BIN) -u ../ops/$ops > ops/$pod
+\t\$(PERLDOC) -u ../ops/$ops > ops/$pod
\t\$(CHMOD) 0644 ../ops/$pod
+\t\$(ADDGENERATED) "docs/\$\@" "[doc]"
END
}
View
@@ -44,7 +44,7 @@ sub runstep {
my $template = $self->{templates}->{myconfig};
$conf->genfile($template, 'myconfig',
- manifest => [ "[devel]" ]);
+ manifest => [ "[devel]", "lib" ]);
$template = $self->{templates}->{config_pir};
my $gen_pir = q{runtime/parrot/library/config.pir};
View
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2010, Parrot Foundation.
+# Copyright (C) 2001-2012, Parrot Foundation.
=head1 NAME
@@ -56,9 +56,10 @@ sub runstep {
my ( $self, $conf ) = @_;
$self->makefiles($conf);
-
+ my $target = 'tools/dev/mk_language_shell.pl';
$conf->shebang_mod( 'tools/dev/mk_language_shell.in'
- => 'tools/dev/mk_language_shell.pl', );
+ => $target, );
+ add_to_generated( $target, '[devel]');
return 1;
}
@@ -10,11 +10,25 @@ RM_RF = @rm_rf@
PERLDOC = @perldoc@
POD2MAN = @pod2man@
VERSION = @VERSION@@DEVEL@
-ADDGENERATED = cd .. && $(PERL) tools/build/addgenerated.pl
+ADDGENERATED = $(PERL) ../tools/build/addgenerated.pl
+OPS_SUMMARY = ../tools/docs/ops_summary.pl
# long list of .pod files
POD = @TEMP_pod@
+MAN_1 = binaries/parrot.1 \
+ binaries/ops2c.1 \
+ binaries/parrotbug.1 \
+ binaries/parrot_config.1 \
+ binaries/parrot_nci_thunk_gen.1 \
+ binaries/parrot-nqp.1 \
+ binaries/parrot-prove.1 \
+ binaries/pbc_to_exe.1 \
+ binaries/plumage.1 \
+ binaries/winxed.1
+
+.SUFFIXES : .pod .1
+
#
# Targets
#
@@ -48,27 +62,17 @@ doc-prep:
$(TOUCH) doc-prep
packfile-c.pod: ../src/packfile/api.c
-#IF(new_perldoc): $(PERLDOC_BIN) -ud packfile-c.pod ../src/packfile/api.c
-#ELSE: $(PERLDOC_BIN) -u ../src/packfile/api.c > packfile-c.pod
-
-MAN_1 = binaries/parrot.1 \
- binaries/ops2c.1 \
- binaries/parrotbug.1 \
- binaries/parrot_config.1 \
- binaries/parrot_nci_thunk_gen.1 \
- binaries/parrot-nqp.1 \
- binaries/parrot-prove.1 \
- binaries/pbc_to_exe.1 \
- binaries/plumage.1 \
- binaries/winxed.1
-
-.SUFFIXES : .pod .1
+#IF(new_perldoc): $(PERLDOC) -ud packfile-c.pod ../src/packfile/api.c
+#ELSE: $(PERLDOC) -u ../src/packfile/api.c > packfile-c.pod
+ $(ADDGENERATED) "docs/$@" "[doc]"
.pod.1 : # suffix rule (limited support)
$(POD2MAN) $< > $@
+ $(ADDGENERATED) "docs/$@" "[main]" man
-ops/index.pod : $(POD)
- $(PERL) ../tools/docs/ops_summary.pl > ops/index.pod
+ops/index.pod : $(POD) $(OPS_SUMMARY)
+ $(PERL) $(OPS_SUMMARY) > ops/index.pod
+ $(ADDGENERATED) "docs/$@" "[doc]"
#IF(has_pod2man):man: man.good
#ELSE:man: man.stub
@@ -83,6 +87,7 @@ man-clean:
clean: man-clean html-clean pdf-clean htmlhelp-clean
$(RM_F) packfile-c.pod $(POD) doc-prep
+ $(RM_RF) ops
html:
$(PERL) -I../lib ../tools/docs/mk_html_docs.pl --version=$(VERSION)
Oops, something went wrong.

0 comments on commit b65a7d1

Please sign in to comment.