… | |
… | |
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@ for ext in $(srcdir)/perl/*; do \ |
108 | @IF_PERL@ for ext in $(srcdir)/perl/*; do \ |
109 | @IF_PERL@ test -f "$$ext" || continue; \ |
109 | @IF_PERL@ test -f "$$ext" || continue; \ |
110 | @IF_PERL@ base="$${ext##*/}"; \ |
110 | @IF_PERL@ base=`basename "$$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-$$base'", $(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)-$$base.$(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 |
… | |
… | |
134 | |
134 | |
135 | perlxsi.c: Makefile |
135 | perlxsi.c: Makefile |
136 | $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt |
136 | $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt |
137 | |
137 | |
138 | rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom |
138 | rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom |
139 | PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes $(srcdir)/rxvtperl.xs >$@ |
139 | PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap 'typemap.iom' -typemap 'typemap' -prototypes $(srcdir)/rxvtperl.xs >$@ |
140 | |
140 | |
141 | rxvtperl.o: rxvtperl.C perlxsi.c |
141 | rxvtperl.o: rxvtperl.C perlxsi.c |
142 | $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $< |
142 | $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $< |
143 | |
143 | |
144 | depend: |
144 | depend: |