diff options
Diffstat (limited to 'print/a2ps/files/patch-contrib-emacs-Makefile.in')
-rw-r--r-- | print/a2ps/files/patch-contrib-emacs-Makefile.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/print/a2ps/files/patch-contrib-emacs-Makefile.in b/print/a2ps/files/patch-contrib-emacs-Makefile.in new file mode 100644 index 000000000000..c1dab47d2a50 --- /dev/null +++ b/print/a2ps/files/patch-contrib-emacs-Makefile.in @@ -0,0 +1,25 @@ +Index: contrib/emacs/Makefile.in +--- Makefile.in.orig 2011-09-27 15:17:26.000000000 +0900 ++++ Makefile.in 2011-09-27 15:18:10.000000000 +0900 +@@ -159,8 +159,9 @@ + + install-dist_lispLISP: $(dist_lisp_LISP) $(ELCFILES) + @$(NORMAL_INSTALL) +- $(mkinstalldirs) $(DESTDIR)$(lispdir) +- @list='$(dist_lisp_LISP)'; for p in $$list; do \ ++ if test $(EMACS) != no; then \ ++ $(mkinstalldirs) $(DESTDIR)$(lispdir); \ ++ list='$(dist_lisp_LISP)'; for p in $$list; do \ + if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(lispdir)/$$f"; \ +@@ -169,7 +170,8 @@ + echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${f}c"; \ + $(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${f}c; \ + else : ; fi; \ +- done ++ done; \ ++ fi + + uninstall-dist_lispLISP: + @$(NORMAL_UNINSTALL) |