Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:guide-developer:helloworld:chapter3 [2023/04/11 09:24] – Add warning about code editors converting tab to spaces in Makefile. Changed the previous sentence as I have changed the Makefile to use hard tabs itself and reader doesn't need to edit it anymore astrodocs:guide-developer:helloworld:chapter3 [2024/12/16 21:23] (current) – [Creating the package manifest file] syntax highlighting stokito
Line 30: Line 30:
  
 In order for the source code of our application to become a package, and become a part of the package repository that we previously created, we will need to create a package manifest for it: In order for the source code of our application to become a package, and become a part of the package repository that we previously created, we will need to create a package manifest for it:
-<code>+<code bash>
 cd home/buildbot/mypackages/examples/helloworld cd home/buildbot/mypackages/examples/helloworld
 touch Makefile touch Makefile
Line 36: Line 36:
  
 Using your favorite text editor, enter the following text as the content of the package manifest. Note that several sections of this file are used by the build system's own GNU make tool, and for this reason, there are **both shorter and longer whitespace indentations** in the file. Shorter ones are simple space characters, while the longer ones are hard tabs. Note that some code editors may convert the tab character to space characters but [[https://beebo.org/haycorn/2015-04-20_tabs-and-makefiles.html|GNU make does not accept spaces]]. Using your favorite text editor, enter the following text as the content of the package manifest. Note that several sections of this file are used by the build system's own GNU make tool, and for this reason, there are **both shorter and longer whitespace indentations** in the file. Shorter ones are simple space characters, while the longer ones are hard tabs. Note that some code editors may convert the tab character to space characters but [[https://beebo.org/haycorn/2015-04-20_tabs-and-makefiles.html|GNU make does not accept spaces]].
-<code - makefile>+<code make Makefile>
 include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
  
  • Last modified: 2024/12/16 21:23
  • by stokito