Closed loveshack closed 4 years ago
I needed this change to build a package from 3.7.1 with $MPI_HOME/etc as sysconfig and non-null DESTDIR.
--- extrae-3.7.1/src/tracer/online/Makefile.am~ 2019-07-05 11:24:32.000000000 +0000 +++ extrae-3.7.1/src/tracer/online/Makefile.am 2019-07-21 13:52:50.714653738 +0000 @@ -151,7 +151,7 @@ .PHONY : $(SCRIPT_ONLINE_ENV) $(SCRIPT_ONLINE_ROOT) install-data-hook: - $(MKDIR_P) $(prefix)/etc + $(MKDIR_P) $(DESTDIR)$(sysconfdir) cp $(SCRIPT_ONLINE_ENV) $(DESTDIR)$(sysconfdir) cp $(SCRIPT_ONLINE_ROOT) $(DESTDIR)$(bindir) chmod a+x $(DESTDIR)$(bindir)/$(SCRIPT_ONLINE_ROOT)
I needed this change to build a package from 3.7.1 with $MPI_HOME/etc as sysconfig and non-null DESTDIR.