# how to tr(anslate) newlines
TRNL = '$trnl'
+# not used by Makefile but by installperl;
+# mentioned here so that metaconfig picks it up
+INSTALL_USR_BIN_PERL = $installusrbinperl
+
!GROK!THIS!
## In the following dollars and backticks do not need the extra backslash.
$(plextract): miniperl lib/Config.pm lib/re.pm
$(LDLIBPTH) ./miniperl -Ilib $@.PL
-
-install: all install.perl install.man
+
+extra.pods: perl
+ -@rm -f extra.pods
+ -@for x in `grep -l '^=[a-z]' README.*` ; do \
+ nx=`echo $$x | sed -e "s/README\.//"`; \
+ $(LNS) ../$$x "pod/perl"$$nx".pod" ; \
+ echo "pod/perl"$$nx".pod" >> extra.pods ; \
+ done
+
+install: all install.perl install.man extra.pods
install.perl: all installperl
if [ -n "$(COMPILE)" ]; \
# To force them to run, type
# make regen_headers
regen_headers: FORCE
- $(CHMOD_W) proto.h warning.h lib/warning.pm
+ $(CHMOD_W) proto.h warnings.h lib/warnings.pm
perl keywords.pl
perl opcode.pl
perl embed.pl
# Do not 'make _mopup' directly.
_mopup:
rm -f *$(OBJ_EXT) *$(LIB_EXT) all perlmain.c
- rm -f perl.exp ext.libs
+ -@test -f extra.pods && rm -f `cat extra.pods`
+ -rm -f perl.exp ext.libs extra.pods
-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 suidperl miniperl $(LIBPERL)