Laelaps  2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
Makefile
Go to the documentation of this file.
1 ################################################################################
2 #
3 # ./sw/scripts/Makefile
4 #
5 ifdef RNMAKE_DOXY
6 /*!
7 \file
8 
9 \brief The \h_laelaps executable scripts makefile.
10 
11 RN Make System Specific Makefile
12 
13 \pkgsynopsis
14 RoadNarrows Robotics \h_laelaps Small Mobile Robot Package
15 
16 \pkgfile{sw/scripts/Makefile}
17 
18 \pkgauthor{Robin Knight,robin.knight@roadnarrows.com}
19 
20 \pkgcopyright{2015-2018,RoadNarrows LLC,http://www.roadnarrows.com}
21 
22 \license{MIT}
23 
24 \EulaBegin
25 \EulaEnd
26 
27  * \cond RNMAKE_DOXY
28  */
29 endif
30 #
31 ################################################################################
32 
33 #------------------------------------------------------------------------------
34 # Required
35 
36 # Package Root Directory
37 RNMAKE_PKG_ROOT = ../..
38 
39 # Bootstrap package within RN Make System
40 include $(RNMAKE_PKG_ROOT)/make/Bootstrap.mk
41 
42 
43 #------------------------------------------------------------------------------
44 # Extras
45 
46 EXTRA_TGT_ALL = all-scripts
47 
48 SCRIPTS = laelaps_init.d.py laelaps_service
49 
50 .PHONY: all-scripts
51 all-scripts: cp-script-files
52 
53 .PHONY: echo-all-scripts
54 echo-all-scripts:
55  $(call printEchoTgtGoalDesc,Copying scripts to $(DISTDIR_BIN))
56 
57 .PHONY: cp-script-files
58 cp-script-files:
59  $(call printGoalDesc,$(@),Copying script files to $(DISTDIR_BIN))
60  $(call copySrcDir,$(SCRIPTS),$(DISTDIR_BIN))
61 
62 
63 #------------------------------------------------------------------------------
64 # Include RNMAKE rules makefile(s)
65 
66 # include top-level rules
67 include $(RNMAKE_ROOT)/Rules.mk
68 
69 # include extras (must include after top-level)
70 include $(RNMAKE_ROOT)/Extras.mk
71 
72 
73 ifdef RNMAKE_DOXY
74 /*! \endcond RNMAKE_DOXY */
75 endif