summaryrefslogtreecommitdiff
path: root/source/x/m17n-lib/m17n-docs_makefile.patch
blob: 11f88ef3ff4dd0670508b8dc57be6d90f91d9bff (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
--- Makefile.in.orig	2007-12-28 02:15:49.000000000 +0100
+++ Makefile.in	2008-01-29 13:43:46.000000000 +0100
@@ -676,20 +676,20 @@
 
 
 install-pkgdataDATA: $(pkgdata_DATA)
-	$(mkinstalldirs) $(pkgdatadir)/html
-	$(mkinstalldirs) $(mandir)/man1 $(mandir)/man3 $(mandir)/man5
-	$(INSTALL_DATA) usr/latex/m17n-lib.dvi $(pkgdatadir)/m17n-lib.dvi
-	$(INSTALL_DATA) usr/latex/m17n-lib.ps $(pkgdatadir)/m17n-lib.ps
+	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/html
+	$(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man3 $(DESTDIR)$(mandir)/man5
+	$(INSTALL_DATA) usr/latex/m17n-lib.dvi $(DESTDIR)$(pkgdatadir)/m17n-lib.dvi
+	$(INSTALL_DATA) usr/latex/m17n-lib.ps $(DESTDIR)$(pkgdatadir)/m17n-lib.ps
 	cd usr/html; \
 	  for f in *.html *.png; do \
-	    $(INSTALL_DATA) $$f $(pkgdatadir)/html/$$f; \
+	    $(INSTALL_DATA) $$f $(DESTDIR)$(pkgdatadir)/html/$$f; \
 	  done
 	cd man/man1; \
-	  for f in *.1; do $(INSTALL_DATA) $$f $(mandir)/man1/$$f; done
+	  for f in *.1; do $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man1/$$f; done
 	cd man/man3; \
-	  for f in *.3m17n; do $(INSTALL_DATA) $$f $(mandir)/man3/$$f; done
+	  for f in *.3m17n; do $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man3/$$f; done
 	cd man/man5; \
-	  for f in *.5; do $(INSTALL_DATA) $$f $(mandir)/man5/$$f; done
+	  for f in *.5; do $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man5/$$f; done
 
 @MAINTAINER_MODE_TRUE@usr-html html-usr: ${HTML_USR_TARGET}
 @MAINTAINER_MODE_TRUE@ja-html html-ja: ${HTML_JA_TARGET}