1 ################################################################################ 31 ################################################################################ 33 #------------------------------------------------------------------------------ 36 # this makefile is last, get the directory part for rnmake root 37 RNMAKE_ROOT = $(realpath .)
40 export RNMAKE_PKG_ROOT = $(RNMAKE_ROOT)
42 # Define to not require c/c++ dependencies.
45 # Sub[Package] Doxygen Configuration File and Styles
46 export RNMAKE_DOXY_CONF_FILE = $(RNMAKE_ROOT)/make/doxy.conf
48 # Include standard collection of functions, etc 49 include $(RNMAKE_ROOT)/Std.mk
51 # Include envirionment
52 include $(RNMAKE_ROOT)/Env.mk
54 # Include package specificiation 55 include $(RNMAKE_ROOT)/make/Pkg.mk
58 #------------------------------------------------------------------------------
59 # Overide Rules.mk Targets
61 # Simple make distro directory structure
64 @$(MAKE) -s -f $(RNMAKE_ROOT)/Rules.mk mkdistdirs
67 # Only install the documentation 70 @$(MAKE) -s -f $(RNMAKE_ROOT)/Rules.mk rel
71 @$(MAKE) -s -f $(RNMAKE_ROOT)/Rules.mk install-docs
74 # Only make the documentation and source tarballs
77 @$(MAKE) -s -f $(RNMAKE_ROOT)/Rules.mk tarball-doc
78 @$(MAKE) -s -f $(RNMAKE_ROOT)/Rules.mk tarball-src
81 # Only make the documentation and source Debian packages 84 @$(MAKE) -s -f $(RNMAKE_ROOT)/Rules.mk deb-pkg-doc deb-pkg-src
90 @$(MAKE) -s -f $(RNMAKE_ROOT)/Rules.mk tarball-doc
95 @$(MAKE) -s -f $(RNMAKE_ROOT)/Rules.mk tarball-src
97 .PHONY: distclean clobber
98 clean distclean clobber: rnbanner
99 @$(MAKE) -s -f $(RNMAKE_ROOT)/Rules.mk $(@)
107 $(call printPkgBanner,$(RNMAKE_PKG_FULL_NAME),any,$(MAKECMDGOALS))
110 # Conditionally print footer. 111 footer = $(call printFooter,$(@),$(lasword,$(MAKECMDGOALS)))