summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/fvwm3/files/fvwm3-1.0.4-htmldoc.patch')
-rw-r--r--x11-wm/fvwm3/files/fvwm3-1.0.4-htmldoc.patch70
1 files changed, 0 insertions, 70 deletions
diff --git a/x11-wm/fvwm3/files/fvwm3-1.0.4-htmldoc.patch b/x11-wm/fvwm3/files/fvwm3-1.0.4-htmldoc.patch
deleted file mode 100644
index 67abc9febfa4..000000000000
--- a/x11-wm/fvwm3/files/fvwm3-1.0.4-htmldoc.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-This patch enables HTML documentation output
---- a/doc/Makefile.am
-+++ b/doc/Makefile.am
-@@ -1,29 +1,39 @@
- docdir = @FVWM_DOCDIR@
--MODULE_ADOCS = $(wildcard fvwm3/fvwm3.adoc bin/*.adoc modules/*.adoc)
-+DOC_SRC = $(wildcard fvwm3/fvwm3.adoc bin/*.adoc modules/*.adoc)
-
--EXTRA_DIST = $(MODULE_ADOCS)
-+EXTRA_DIST = $(DOC_SRC)
-
- if FVWM_BUILD_MANDOC
--BUILD_MANS = $(patsubst %.adoc,%, $(MODULE_ADOCS))
-+BUILD_MANS = $(DOC_SRC:.adoc=.1)
-+BUILD_HTML = $(DOC_SRC:.adoc=.html)
- else
- BUILD_MANS =
- endif
-
--all: docs
--docs: $(BUILD_MANS)
-+all: man html
-+
-+man: $(BUILD_MANS)
-+
-+html: $(BUILD_HTML)
-
- clean:
- rm -fr man1/
-+ rm -fr html/
-
- distclean-local: clean
-
- if FVWM_BUILD_MANDOC
- QUIET_ASCIIDOC = @echo ' ' DOC ' ' $@'.1';
-
--%: %.adoc
-+%.1: %.adoc
- $(QUIET_ASCIIDOC) \
- NAME=`basename "$@" | "$(SED)" -e "${transform}"`; \
-- $(ASCIIDOC) -b manpage $< -o "man1/$$NAME.1"
-+ $(ASCIIDOC) -b manpage $^ -o "man1/$$NAME"
-+
-+%.html: %.adoc
-+ $(QUIET_ASCIIDOC:.1=.html) \
-+ NAME=`basename "$@" | "$(SED)" -e "${transform}"`; \
-+ $(ASCIIDOC) -b html5 $^ -o "html/$$NAME"
-
- install-data-local:
- install -d -m 755 $(DESTDIR)$(mandir)/man1/
-@@ -31,10 +41,19 @@ install-data-local:
- NAME=`basename "$$i" | "$(SED)" -e "${transform}"`; \
- install -m 644 "man1/$$NAME.1" $(DESTDIR)$(mandir)/man1/; \
- done
-+ install -d -m 755 $(DESTDIR)$(mandir)/html/
-+ @for i in $(notdir $(BUILD_HTML)); do \
-+ NAME=`basename "$$i" | "$(SED)" -e "${transform}"`; \
-+ install -m 644 "html/$$NAME.html" $(DESTDIR)$(mandir)/html/; \
-+ done
-
- uninstall-local:
- @for i in $(notdir $(BUILD_MANS)); do \
- NAME=`basename "$$i" | "$(SED)" -e "${transform}"`; \
- rm -f "$(DESTDIR)$(mandir)/man1/$$NAME.1"; \
- done
-+ @for i in $(notdir $(BUILD_HTML)); do \
-+ NAME=`basename "$$i" | "$(SED)" -e "${transform}"`; \
-+ rm -f "$(DESTDIR)$(mandir)/html/$$NAME.html"; \
-+ done
- endif