diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-04-18 12:19:57 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-04-18 12:19:57 +0100 |
commit | 344af494c35a9f0f50dab51474b2e7cd806f1b08 (patch) | |
tree | 18ee1dd279cfdc367556d9a3e4033d8608cb49ec /Makefile.SH | |
parent | 6e0733998eff7a098d2d21d5602f3eb2a7521e1f (diff) | |
download | perl-344af494c35a9f0f50dab51474b2e7cd806f1b08.tar.gz |
Generate perlapi.pod and perlintern.pod at build time, instead of shipping them.
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.SH b/Makefile.SH index dd4ea3f6f0..156d27593c 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -454,6 +454,8 @@ mini_obj = $(obj1) $(obj2) $(obj3) $(ARCHOBJS) ndt_obj = $(obj0) $(obj1) $(obj2) $(obj3) $(ARCHOBJS) obj = $(ndt_obj) $(DTRACE_O) +generated_pods = extra.pods pod/perlapi.pod pod/perlintern.pod + lintflags = \ -b \ -n \ @@ -521,7 +523,7 @@ splintfiles = $(c1) .c.s: $(CCCMDSRC) -S $*.c -all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) miniperl extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make +all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) miniperl $(generated_pods) $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make @echo " "; @echo " Everything is up to date. Type '$(MAKE) test' to run test suite." @@ -969,6 +971,9 @@ uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables cd lib/unicore && $(LDLIBPTH) $(RUN) ../../miniperl$(EXE_EXT) -I../../lib mktables -w touch uni.data +pod/perlapi.pod pod/perlintern.pod: miniperl$(EXE_EXT) autodoc.pl embed.fnc + $(RUN) ./miniperl$(EXE_EXT) autodoc.pl + extra.pods: miniperl$(EXE_EXT) -@test ! -f extra.pods || rm -f `cat extra.pods` -@rm -f extra.pods @@ -1174,7 +1179,7 @@ _mopup: -rmdir .depending -@test -f extra.pods && rm -f `cat extra.pods` -@test -f vms/README_vms.pod && rm -f vms/README_vms.pod - -rm -f perl.exp ext.libs extra.pods uni.data opmini.o perlmini.o + -rm -f perl.exp ext.libs $(generated_pods) uni.data opmini.o perlmini.o -rm -f perl.export perl.dll perl.libexp perl.map perl.def -rm -f perl.loadmap miniperl.loadmap perl.prelmap miniperl.prelmap -rm -f perl.third lib*.so.perl.third perl.3log t/perl.third t/perl.3log |