2704117eaf
- Replace texinfo BuildRequires with makeinfo and texi2html: only those parts are needed. - Add indent-texi2html-5.0.patch: Fix build with texi2html 5.0 (note: patches Makeinfo.in in order to not depend on libtool) - Move install_info_delete from postun to preun. OBS-URL: https://build.opensuse.org/request/show/287593 OBS-URL: https://build.opensuse.org/package/show/devel:tools/indent?expand=0&rev=7
45 lines
2.9 KiB
Diff
45 lines
2.9 KiB
Diff
Index: indent-2.2.10/doc/Makefile.am
|
|
===================================================================
|
|
--- indent-2.2.10.orig/doc/Makefile.am
|
|
+++ indent-2.2.10/doc/Makefile.am
|
|
@@ -34,14 +34,14 @@ html-monolithic: @PACKAGE@.html
|
|
html-split: @PACKAGE@_toc.html
|
|
|
|
@PACKAGE@.html: version.texi $(@PACKAGE@_TEXINFOS)
|
|
- $(TEXI2HTML) -expandinfo -number -monolithic `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi`
|
|
+ $(TEXI2HTML) -expandinfo -monolithic `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi`
|
|
|
|
@PACKAGE@_toc.html: version.texi $(@PACKAGE@_TEXINFOS)
|
|
case "$(TEXI2HTML)" in \
|
|
*"/missing texi2html") \
|
|
- $(TEXI2HTML) -expand info -number -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` || exit 0 ;; \
|
|
+ $(TEXI2HTML) -expand info -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` || exit 0 ;; \
|
|
*) $(RM) @PACKAGE@_*.html ; \
|
|
- $(TEXI2HTML) -expand info -number -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` ;; \
|
|
+ $(TEXI2HTML) -expand info -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` ;; \
|
|
esac
|
|
|
|
install-html-monolithic: @PACKAGE@.html
|
|
Index: indent-2.2.10/doc/Makefile.in
|
|
===================================================================
|
|
--- indent-2.2.10.orig/doc/Makefile.in
|
|
+++ indent-2.2.10/doc/Makefile.in
|
|
@@ -616,14 +616,14 @@ html-monolithic: @PACKAGE@.html
|
|
html-split: @PACKAGE@_toc.html
|
|
|
|
@PACKAGE@.html: version.texi $(@PACKAGE@_TEXINFOS)
|
|
- $(TEXI2HTML) -expandinfo -number -monolithic `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi`
|
|
+ $(TEXI2HTML) -expandinfo -monolithic `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi`
|
|
|
|
@PACKAGE@_toc.html: version.texi $(@PACKAGE@_TEXINFOS)
|
|
case "$(TEXI2HTML)" in \
|
|
*"/missing texi2html") \
|
|
- $(TEXI2HTML) -expand info -number -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` || exit 0 ;; \
|
|
+ $(TEXI2HTML) -expand info -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` || exit 0 ;; \
|
|
*) $(RM) @PACKAGE@_*.html ; \
|
|
- $(TEXI2HTML) -expand info -number -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` ;; \
|
|
+ $(TEXI2HTML) -expand info -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` ;; \
|
|
esac
|
|
|
|
install-html-monolithic: @PACKAGE@.html
|