htmldoc/htmldoc-docpath.diff
Tomáš Chvátal 859e1a4643 Accepting request 287778 from home:benoit_monin:branches:Publishing
- update to version 1.8.28
- add source url
- drop the following patches after upstream fix:
  * htmldoc_CVE-2009-3050_535943.diff
  * htmldoc-fortify.diff
  * htmldoc-libpng15.diff
  * htmldoc-link-x11.patch
- refresh patch htmldoc-docpath.diff
- add patch htmldoc-cups_rand.patch to work around a build error
  (upstream bug #510)
- remove now unused --with-fltk configure options
- set datadir for make install
- do not package doc/ source directory: documentation is already
  provided by htmldoc.pdf
- remove COMPILE.txt from doc: useless in a rpm
- add -q to %setup to avoid spamming the build log

OBS-URL: https://build.opensuse.org/request/show/287778
OBS-URL: https://build.opensuse.org/package/show/Publishing/htmldoc?expand=0&rev=13
2015-03-02 14:34:58 +00:00

37 lines
1.0 KiB
Diff

Author: Günther Deschner <guenther at deschner dot de>
Subject: Fix doc path
Index: config.h.in
===================================================================
--- config.h.in.orig
+++ config.h.in
@@ -42,7 +42,7 @@
* Locations of files...
*/
-#define DOCUMENTATION "/usr/share/doc/htmldoc"
+#define DOCUMENTATION "/usr/share/doc/packages/htmldoc/doc"
#define HTML_DATA "/usr/share/htmldoc"
Index: doc/Makefile
===================================================================
--- doc/Makefile.orig
+++ doc/Makefile
@@ -44,11 +44,11 @@ all: $(DOCUMENTS)
#
install: $(DOCUMENTS)
- if test ! -d $(datadir)/doc/htmldoc; then\
- $(MKDIR) $(datadir)/doc/htmldoc;\
+ if test ! -d $(datadir)/doc/packages/htmldoc; then\
+ $(MKDIR) $(datadir)/doc/packages/htmldoc;\
fi
- $(CP) $(DOCFILES) $(datadir)/doc/htmldoc
- $(CHMOD) ugo+r $(datadir)/doc/htmldoc/*
+ $(CP) $(DOCFILES) $(datadir)/doc/packages/htmldoc
+ $(CHMOD) ugo+r $(datadir)/doc/packages/htmldoc/*
if test ! -d $(mandir)/man1; then\
$(MKDIR) $(mandir)/man1;\
fi