diff options
Diffstat (limited to 'misc/m17n-docs/patches/patch-aa')
-rw-r--r-- | misc/m17n-docs/patches/patch-aa | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/misc/m17n-docs/patches/patch-aa b/misc/m17n-docs/patches/patch-aa new file mode 100644 index 00000000000..34ce86e562d --- /dev/null +++ b/misc/m17n-docs/patches/patch-aa @@ -0,0 +1,41 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/02/27 13:50:43 obache Exp $ + +--- Makefile.am.orig 2007-10-24 11:21:06.000000000 +0000 ++++ Makefile.am +@@ -32,27 +32,27 @@ pkgdata_DATA = \ + man/man3/m17nIntro.3m17n \ + man/man5/mdbGeneral.5 + +-pkgdatadir = $(datadir)/m17n/docs ++pkgdatadir = $(datadir)/doc/m17n + + EXTRA_DIST = usr/html usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps \ + man/man1 man/man3 man/man5 \ + ja/html ja/latex/m17n-lib-ja.dvi ja/latex/m17n-lib-ja.ps + + 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 + + # + # The followings are for maintainers only. |