summaryrefslogtreecommitdiff
path: root/sys-cluster/lmod/files/lmod-8.6.14-r1-make.patch
blob: de6ac45e300f700b3254b0b211a8194511131f40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/Makefile.in	2026-04-14 14:24:02.212885947 +0200
+++ b/Makefile.in	2026-04-14 14:28:17.943984410 +0200
@@ -203,13 +203,15 @@
 	$(RM) -rf $(DESTDIR)$(MY_PKG_PACKAGE)
 	@echo "If you added lmod files to /etc/profile.d please remove them."
 
-pre-install: $(DIRLIST) lmod_install_targets
+pre-install: $(DIRLIST)
+	$(MAKE) lmod_install_targets
 
 lmod_install_targets: $(PKGS) lmodrc_init shell_init startup libexec               \
                       Inst_Tools Inst_Shells Inst_Settarg Inst_Lmod_MF other_tools \
                       man_pages messageFns i18n spiderCacheSupport ksh_funcs
 
-install: pre-install  zsh_tab_funcs fish_tab_funcs 
+install: pre-install
+	$(MAKE) zsh_tab_funcs fish_tab_funcs 
 	$(MAKE) PKGV=$(PKG) shell_init startup
 	@if test "$(SITE_CONTROLLED_PREFIX)" = "no" ; then                        \
 	   echo $(RM) $(DESTDIR)$(PKG);                                           \