Hi all! I’m new here.
I came up with a data format very similar to JSON to help plan out and express the structure of a file system in a neat way. I’m working on a project where I’m building a compiler to convert the description into a bash script to generate the file system.
What I did
I was trying to implement the two-step installation process: configure followed by a make. I didn’t use automake because it felt a bit too complicated for me for now.
Here’s a tiny description of what I did:
- build-essential: for
flex: for lexing
bison: for parsing
tree: to visualize a file system
Files to consider
Here I wrote a bash script to check whether the requirements are available. If not, they are installed using:
$ apt-get install <package-name>
After installation, the locations of the executables are stored in few variables and a file named
tools is generated having the list of the requirements and their respective locations.
make install copies the executable to
What I want
I’ve never done anything like this before. I would appreciate if anyone could kindly advise me on the build procedure used by the project.
Thank you. Stay safe.