summaryrefslogtreecommitdiff
path: root/multimedia/xfmedia/xfmedia-0.9.2-fixup_htmldir.diff
blob: 5a16fa5a1df0350ff0689102f2fc2583ceb7893b (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
diff -Nur xfmedia-0.9.2.orig/doc/C/Makefile.in xfmedia-0.9.2/doc/C/Makefile.in
--- xfmedia-0.9.2.orig/doc/C/Makefile.in	2006-11-27 14:20:51.000000000 -0600
+++ xfmedia-0.9.2/doc/C/Makefile.in	2009-08-15 17:43:00.612828573 -0500
@@ -59,7 +59,7 @@
     *) f=$$p;; \
   esac;
 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-am__installdirs = "$(DESTDIR)$(docdir)" "$(DESTDIR)$(imagesdir)"
+am__installdirs = "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(imagesdir)"
 docDATA_INSTALL = $(INSTALL_DATA)
 imagesDATA_INSTALL = $(INSTALL_DATA)
 DATA = $(doc_DATA) $(images_DATA)
@@ -265,7 +265,8 @@
 build_vendor = @build_vendor@
 datadir = @datadir@
 datarootdir = @datarootdir@
-docdir = $(datadir)/xfmedia/doc/C
+docdir = @docdir@
+htmldir = @htmldir@
 dvidir = @dvidir@
 exec_prefix = @exec_prefix@
 host = @host@
@@ -307,7 +308,7 @@
 	html/ch04.html \
 	html/ch04s02.html
 
-imagesdir = $(datadir)/xfmedia/doc/C/images
+imagesdir = $(htmldir)/images
 images_DATA = \
 	xml/images/mainwin.png \
 	xml/images/prefs-options.png \
@@ -361,20 +362,20 @@
 uninstall-info-am:
 install-docDATA: $(doc_DATA)
 	@$(NORMAL_INSTALL)
-	test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
+	test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
 	@list='$(doc_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  f=$(am__strip_dir) \
-	  echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
-	  $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
+	  echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
+	  $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
 	done
 
 uninstall-docDATA:
 	@$(NORMAL_UNINSTALL)
 	@list='$(doc_DATA)'; for p in $$list; do \
 	  f=$(am__strip_dir) \
-	  echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
-	  rm -f "$(DESTDIR)$(docdir)/$$f"; \
+	  echo " rm -f '$(DESTDIR)$(htmldir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(htmldir)/$$f"; \
 	done
 install-imagesDATA: $(images_DATA)
 	@$(NORMAL_INSTALL)
@@ -574,7 +575,7 @@
 all-am: Makefile $(DATA)
 installdirs: installdirs-recursive
 installdirs-am:
-	for dir in "$(DESTDIR)$(docdir)" "$(DESTDIR)$(imagesdir)"; do \
+	for dir in "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(imagesdir)"; do \
 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
 	done
 install: install-recursive
diff -Nur xfmedia-0.9.2.orig/doc/Makefile.in xfmedia-0.9.2/doc/Makefile.in
--- xfmedia-0.9.2.orig/doc/Makefile.in	2006-11-27 14:20:52.000000000 -0600
+++ xfmedia-0.9.2/doc/Makefile.in	2009-08-15 17:41:11.197985898 -0500
@@ -295,7 +295,7 @@
 SUBDIRS = \
 	C
 
-cssdir = $(datadir)/xfmedia/doc
+cssdir = $(htmldir)
 css_DATA = xfce.css
 noinst_DATA = \
 	catalog.xml.in \