diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
commit | 8185891e28635bdb83fdf4ba4391030912dae596 (patch) | |
tree | 66a946535bdd228514750233b2cc99dd1866ff64 /pcr/emacs-mailcrypt/destdir.patch | |
parent | 60a11f87366fdfbd114cdc91ff813518858e5f8d (diff) |
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'pcr/emacs-mailcrypt/destdir.patch')
-rw-r--r-- | pcr/emacs-mailcrypt/destdir.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr/emacs-mailcrypt/destdir.patch b/pcr/emacs-mailcrypt/destdir.patch new file mode 100644 index 000000000..a0159cd02 --- /dev/null +++ b/pcr/emacs-mailcrypt/destdir.patch @@ -0,0 +1,41 @@ +diff -ruN mailcrypt-3.5.9.orig/Makefile.in mailcrypt-3.5.9/Makefile.in +--- mailcrypt-3.5.9.orig/Makefile.in 2010-03-11 08:38:05.000000000 -0500 ++++ mailcrypt-3.5.9/Makefile.in 2012-12-13 18:38:59.000000000 -0500 +@@ -77,16 +77,16 @@ + + install: all installdirs install-info + for f in $(SOURCES); do \ +- $(INSTALL_DATA) $(srcdir)/$$f $(lispdir); \ ++ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(lispdir); \ + done; + for f in $(OBJECTS); do \ +- $(INSTALL_DATA) $$f $(lispdir); \ ++ $(INSTALL_DATA) $$f $(DESTDIR)$(lispdir); \ + done; + + # Make sure all installation directories actually exist + # by making them if necessary. + installdirs: mkinstalldirs +- $(srcdir)/mkinstalldirs $(lispdir) $(infodir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(lispdir) $(DESTDIR)$(infodir) + + # If your install-info doesn't know how to look inside the .info file for the + # menu entry to add, try adding +@@ -95,14 +95,12 @@ + + install-info: info + cd $(srcdir) && for file in $(INFOFILES); do\ +- $(INSTALL_DATA) $$file $(infodir)/$$file; \ ++ $(INSTALL_DATA) $$file $(DESTDIR)$(infodir)/$$file; \ + done +- -$(INSTALL_INFO) --info-dir=$(infodir) mailcrypt.info + + uninstall: +- -cd $(lispdir) && rm -f $(SOURCES) $(OBJECTS) +- -cd $(infodir) && rm -f $(INFOFILES) +- $(INSTALL_INFO) --remove --info-dir=$(infodir) mailcrypt.info ++ -cd $(DESTDIR)$(lispdir) && rm -f $(SOURCES) $(OBJECTS) ++ -cd $(DESTDIR)$(infodir) && rm -f $(INFOFILES) + + info: $(INFOFILES) + |