… | |
… | |
103 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt |
103 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt |
104 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl |
104 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(libdir)/urxvt/perl |
105 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man1dir) |
105 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man1dir) |
106 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir) |
106 | @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir) |
107 | @IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm |
107 | @IF_PERL@ $(INSTALL_DATA) $(srcdir)/urxvt.pm $(DESTDIR)$(libdir)/urxvt/urxvt.pm |
108 | @IF_PERL@ cd $(srcdir)/perl; \ |
|
|
109 | @IF_PERL@ for ext in *; do \ |
108 | @IF_PERL@ for ext in $(srcdir)/perl/*; do \ |
110 | @IF_PERL@ test -f "$$ext" || continue; \ |
109 | @IF_PERL@ test -f "$$ext" || continue; \ |
|
|
110 | @IF_PERL@ base="$${ext##*/}"; \ |
111 | @IF_PERL@ $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; \ |
111 | @IF_PERL@ $(INSTALL_DATA) "$$ext" $(DESTDIR)$(libdir)/urxvt/perl/; \ |
112 | @IF_PERL@ < "$$ext" \ |
112 | @IF_PERL@ < "$$ext" \ |
113 | @IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "'urxvt-$$ext'", $(PODOPTS))->parse_from_file' \ |
113 | @IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "'urxvt-$$base'", $(PODOPTS))->parse_from_file' \ |
114 | @IF_PERL@ > ../mantmp; \ |
114 | @IF_PERL@ > ../mantmp; \ |
115 | @IF_PERL@ test -s ../mantmp && $(INSTALL_DATA) ../mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-$$ext.$(man1ext); \ |
115 | @IF_PERL@ test -s ../mantmp && $(INSTALL_DATA) ../mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-$$base.$(man1ext); \ |
116 | @IF_PERL@ < "$$ext" $(PERL) -ne '<>, (print <> . "\n"), exit if /^=head1/' >&3; \ |
116 | @IF_PERL@ < "$$ext" $(PERL) -ne '<>, (print <> . "\n"), exit if /^=head1/' >&3; \ |
117 | @IF_PERL@ done 3>../manlst |
117 | @IF_PERL@ done 3>manlst |
118 | @IF_PERL@ cat $(srcdir)/../doc/extensions.pod.top manlst $(srcdir)/../doc/extensions.pod.bot | \ |
118 | @IF_PERL@ cat $(srcdir)/../doc/extensions.pod.top manlst $(srcdir)/../doc/extensions.pod.bot | \ |
119 | @IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)-extensions", $(PODOPTS))->parse_from_file' \ |
119 | @IF_PERL@ $(PERL) -MPod::Man -e '(new Pod::Man name => "$(RXVTNAME)-extensions", $(PODOPTS))->parse_from_file' \ |
120 | @IF_PERL@ > mantmp |
120 | @IF_PERL@ > mantmp |
121 | @IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-extensions.$(man1ext) |
121 | @IF_PERL@ $(INSTALL_DATA) mantmp $(DESTDIR)$(man1dir)/$(RXVTNAME)-extensions.$(man1ext) |
122 | @IF_PERL@ < $(srcdir)/urxvt.pm \ |
122 | @IF_PERL@ < $(srcdir)/urxvt.pm \ |