diff options
Diffstat (limited to 'app-shells/scsh/files')
-rw-r--r-- | app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch b/app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch new file mode 100644 index 000000000000..6ec949bb115d --- /dev/null +++ b/app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch @@ -0,0 +1,93 @@ +--- Makefile.in.orig 2004-09-24 01:43:55.743685848 +0200 ++++ Makefile.in 2004-09-24 01:43:55.745685544 +0200 +@@ -33,7 +33,7 @@ + host = @host@ + ### End of `configure' section### + +-htmldir = $(libdir)/scsh/doc/scsh-manual/html ++htmldir = /usr/share/doc/scsh-0.6.7/scsh-manual/html + + # HP 9000 series, if you don't have gcc + # CC = cc +@@ -358,38 +358,38 @@ + done + + inst-doc: +- for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \ +- $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/; \ ++ for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \ ++ $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/; \ + done && \ + for f in $(srcdir)/doc/src/*.tex \ + $(srcdir)/doc/src/*.dvi \ + $(srcdir)/doc/src/*.ps; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/s48-manual/;\ + done && \ + for f in $(srcdir)/doc/src/manual/*.html; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/html/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/s48-manual/html/;\ + done && \ + for f in $(srcdir)/doc/scsh-manual/*.tex \ + $(srcdir)/doc/scsh-manual/*.sty \ + $(srcdir)/doc/scsh-manual/*.dvi \ + $(srcdir)/doc/scsh-manual/*.ps \ + $(srcdir)/doc/scsh-manual/*.pdf; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-manual/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-manual/;\ + done && \ + for f in $(srcdir)/doc/scsh-manual/html/*.html \ + $(srcdir)/doc/scsh-manual/html/*.gif \ + $(srcdir)/doc/scsh-manual/html/*.css; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \ + done && \ + for f in $(srcdir)/doc/scsh-paper/*.tex \ + $(srcdir)/doc/scsh-paper/*.sty \ + $(srcdir)/doc/scsh-paper/*.dvi \ + $(srcdir)/doc/scsh-paper/*.ps; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-paper/; \ + done && \ + for f in $(srcdir)/doc/scsh-paper/html/*.html \ + $(srcdir)/doc/scsh-paper/html/*.css; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/html; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-paper/html/;\ + done + + +@@ -412,19 +412,21 @@ + chmod +x $@ + + dirs: +- for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); do\ +- { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } || { \ +- echo "$(DESTDIR)$$dir not a writable directory" >&2; \ +- exit 1; \ +- } \ +- done && \ +- for dir in \ +- rts env big opt misc link srfi scsh doc/scsh-manual \ +- doc/s48-manual/html doc/scsh-paper/html cig; do \ +- { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ]; } || { \ +- echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; \ +- exit 1; \ +- }; \ ++ for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); \ ++ do \ ++ { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } \ ++ || { echo "$(DESTDIR)$$dir not a writable directory" >&2; exit 1; }; \ ++ done && \ ++ for dir in rts env big opt misc link srfi scsh; \ ++ do \ ++ { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ];} \ ++ || { echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; exit 1;};\ ++ done && \ ++ for dir in \ ++ scsh-manual/html s48-manual/html scsh-paper/html cig; do \ ++ { mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.7/$$dir; } \ ++ || { echo "mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.7/$$dir failed" >&2;\ ++ exit 1;}; \ + done + + configure: configure.in |