The unpac monorepo manager self-hosting as a monorepo using unpac
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add SUBDIR_NAME to principal Makefiles

SUBDIR_NAME goes along with ROOTDIR - where ROOTDIR is the relative path
from Makefile back to the root directory, SUBDIR_NAME is the implicit
path from the root directory to Makefile.

+10
+2
Makefile
··· 16 16 # The main Makefile 17 17 18 18 ROOTDIR = . 19 + SUBDIR_NAME = 20 + 19 21 # NOTE: it is important that the OCAMLDEP and OCAMLLEX variables 20 22 # are defined *before* Makefile.common gets included, so that 21 23 # their local definitions here take precedence over their
+1
api_docgen/Makefile
··· 14 14 #************************************************************************** 15 15 # Used by included Makefiles 16 16 ROOTDIR = .. 17 + SUBDIR_NAME = api_docgen 17 18 -include ../Makefile.build_config 18 19 19 20 odoc-%:
+1
api_docgen/ocamldoc/Makefile
··· 14 14 #************************************************************************** 15 15 # Used by included Makefiles 16 16 ROOTDIR = ../.. 17 + SUBDIR_NAME = api_docgen/ocamldoc 17 18 include ../Makefile.common 18 19 vpath %.mli ../../stdlib $(DOC_COMPILERLIBS_DIRS) $(DOC_STDLIB_DIRS) 19 20
+1
api_docgen/odoc/Makefile
··· 15 15 16 16 # Used by included Makefiles 17 17 ROOTDIR = ../.. 18 + SUBDIR_NAME = api_docgen/odoc 18 19 19 20 include ../Makefile.common 20 21
+1
man/Makefile
··· 14 14 #************************************************************************** 15 15 16 16 ROOTDIR = .. 17 + SUBDIR_NAME = man 17 18 include $(ROOTDIR)/Makefile.common 18 19 19 20 MANPAGES = $(addsuffix .1,\
+1
otherlibs/Makefile
··· 14 14 #************************************************************************** 15 15 16 16 ROOTDIR=.. 17 + SUBDIR_NAME=otherlibs 17 18 include $(ROOTDIR)/Makefile.common 18 19 19 20 # Although the OTHERLIBS variable is defined in ../Makefile.config,
+1
otherlibs/Makefile.otherlibs.common
··· 16 16 # Common Makefile for otherlibs 17 17 18 18 ROOTDIR=../.. 19 + SUBDIR_NAME=otherlibs/$(LIBNAME) 19 20 include $(ROOTDIR)/Makefile.common 20 21 include $(ROOTDIR)/Makefile.best_binaries 21 22
+1
otherlibs/systhreads/Makefile
··· 14 14 #************************************************************************** 15 15 16 16 ROOTDIR=../.. 17 + SUBDIR_NAME=otherlibs/systhreads 17 18 18 19 include $(ROOTDIR)/Makefile.common 19 20 include $(ROOTDIR)/Makefile.best_binaries
+1
stdlib/Makefile
··· 14 14 #************************************************************************** 15 15 16 16 ROOTDIR = .. 17 + SUBDIR_NAME = stdlib 17 18 # NOTE: it is important that the OCAMLDEP variable is defined *before* 18 19 # Makefile.common gets included, so that its local definition here 19 20 # take precedence over its general shared definitions in Makefile.common.