diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Makefile.pre.in | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in index 95321d0..a21af23 100644 --- a/Modules/Makefile.pre.in +++ b/Modules/Makefile.pre.in @@ -177,7 +177,19 @@ sharedinstall: $(DESTSHARED) $(SHAREDMODS) fi; \ done -$(DESTSHARED): - mkdir $(DESTSHARED); chmod 755 $(DESTSHARED) +DIRMODE=755 + +$(DESTSHARED): $(exec_prefix)/lib/python $(exec_prefix)/lib $(exec_prefix) + mkdir $(DESTSHARED); chmod $(DIRMODE) $(DESTSHARED) + +$(exec_prefix)/lib/python: + mkdir $(exec_prefix)/lib/python + chmod $(DIRMODE) $(exec_prefix)/lib/python + +$(exec_prefix)/lib: + mkdir $(exec_prefix)/lib; chmod $(DIRMODE) $(exec_prefix)/lib + +$(exec_prefix): + mkdir $(exec_prefix); chmod $(DIRMODE) $(exec_prefix) # Stuff is appended here by makesetup and make depend |