blob: f2b86a153b8a93ec05d1a302014c691a88746493 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- rem2html/Makefile.in.orig 2022-02-10 22:15:01 UTC
+++ rem2html/Makefile.in
@@ -12,17 +12,15 @@ all:
true
install:
- @if test "$(PERL)" = "" ; then \
- echo "Not installing rem2html; Perl is required"; exit 0; fi; \
- for m in $(PERLMODS_NEEDED) ; \
- do \
- $(PERL) -M$$m -e 1 > /dev/null 2>&1; \
- if test $$? != 0 ; then echo "Not installing rem2html; missing $$m"; exit 0; fi; \
- done; \
- pod2man --center "VERSION @VERSION@" --date "@RELEASE_DATE@" rem2html > rem2html.1 && mkdir -p $(DESTDIR)$(mandir)/man1 && cp rem2html.1 $(DESTDIR)$(mandir)/man1/rem2html.1 || true; \
- echo "Installing rem2html in $(DESTDIR)$(bindir)"; \
- mkdir -p $(DESTDIR)$(bindir) && sed -e 's|^#!perl|#!$(PERL)|' < rem2html > $(DESTDIR)$(bindir)/rem2html && chmod 755 $(DESTDIR)$(bindir)/rem2html && exit 0; \
- exit 1;
+ @for m in $(PERLMODS_NEEDED) ; \
+ do \
+ $(PERL) -M$$m -e 1 ; \
+ done
+ pod2man --center "VERSION @VERSION@" --date "@RELEASE_DATE@" rem2html > rem2html.1 && mkdir -p $(DESTDIR)$(mandir)/man1 && cp rem2html.1 $(DESTDIR)$(mandir)/man1/rem2html.1 || true
+ @echo "Installing rem2html in $(DESTDIR)$(bindir)"
+ mkdir -p $(DESTDIR)$(bindir)
+ sed -e 's|^#!perl|#!$(PERL)|' < rem2html > rem2html.out
+ $(INSTALL_SCRIPT) rem2html.out $(DESTDIR)$(bindir)/rem2html
|