File: 0011-upstream-html-install-dir-part-1.patch

package info (click to toggle)
xournal 1%3A0.4.8.2016-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 4,300 kB
  • sloc: ansic: 17,675; sh: 4,164; makefile: 159; xml: 8
file content (32 lines) | stat: -rw-r--r-- 1,184 bytes parent folder | download | duplicates (2)
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
30
31
32
From: Denis Auroux <auroux@users.sourceforge.net>
Date: Fri, 1 Jun 2018 10:33:38 -0700
Subject: upstream html install dir part 1

Install html documentation in docdir/htmldir instead of html-doc
---
 Makefile.am | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1c0d5b9..6c42573 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,14 +18,14 @@ install-data-local:
 	  done \
 	fi; \
 	if test -d $(srcdir)/html-doc; then \
-	  $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/html-doc; \
+	  $(mkinstalldirs) $(DESTDIR)$(htmldir); \
 	  for docfile in $(srcdir)/html-doc/*; do \
 	    if test -f $$docfile; then \
-	      $(INSTALL_DATA) $$docfile $(DESTDIR)$(pkgdatadir)/html-doc; \
+	      $(INSTALL_DATA) $$docfile $(DESTDIR)$(htmldir); \
 	    fi \
 	  done; \
-	  if test ! -e $(DESTDIR)$(pkgdatadir)/html-doc/pixmaps; then \
-	    ln -s ../pixmaps $(DESTDIR)$(pkgdatadir)/html-doc/pixmaps; \
+	  if test ! -e $(DESTDIR)$(htmldir)/pixmaps; then \
+	    ln -s $(DESTDIR)$(pkgdatadir)/pixmaps $(DESTDIR)$(htmldir)/pixmaps; \
 	  fi \
 	fi; \
 	echo "*** Desktop files, icons, MIME types not installed. Run 'make desktop-install'"; \