singular-4.0.3-fix-destdir.patch 992 B

123456789101112131415161718192021222324252627
  1. From 7eac42b467723a83a951218be53785411be3dbc4 Mon Sep 17 00:00:00 2001
  2. From: jgmbenoit <quatermaster@rezozer.net>
  3. Date: Thu, 28 Apr 2016 05:47:53 +0000
  4. Subject: [PATCH] automake: install-data-local: missing DESTDIR prefix
  5. ---
  6. Makefile.am | 6 +++---
  7. 1 file changed, 3 insertions(+), 3 deletions(-)
  8. diff --git a/Makefile.am b/Makefile.am
  9. index 32778f7..24dd251 100644
  10. --- a/Makefile.am
  11. +++ b/Makefile.am
  12. @@ -17,9 +17,9 @@ dist-hook:
  13. $(srcdir)/git-version-gen $(srcdir)/.tarball-git-version > $(distdir)/.tarball-git-version
  14. install-data-local:
  15. - -cat ${top_srcdir}/doc/doc.tbz2| (cd $(datadir)/singular;tar jxf -)
  16. - -mkdir $(datadir)/info
  17. - -mv $(datadir)/singular/singular.hlp $(datadir)/info/.
  18. + -cat ${top_srcdir}/doc/doc.tbz2| (cd $(DESTDIR)$(datadir)/singular; tar jxf -)
  19. + -mkdir $(DESTDIR)$(datadir)/info
  20. + -mv $(DESTDIR)$(datadir)/singular/singular.hlp $(DESTDIR)$(datadir)/info/.
  21. configheaderdir = ${includedir}/singular
  22. nodist_configheader_HEADERS = singularconfig.h