Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
 
Options:
RSS cloud
Jump to:

Assignment 2 q1

1 of 390 articles shown, currently no other people reading this forum.
photo
From: Akhil E.
Date: Sun 31st May, 11:38am
Actions: 
        Login-to-reply

 

"Christopher McDonald" <ch*i*.*c*o*a*[email protected]*a*e*u*a*> wrote:

> "Jichunyang Li" <22*7*0*[email protected]*u*e*t*u*a*e*u*a*> wrote:
> 
> >   For Q1, which command I should run? make updateversion $project name or ./updateversion $project 
> > name?
> 
>  From the command-line, you do not run either of those.
> 
> You need a new target inside your Makefile, so that you can run:
> 
>   make updateversion
> 
> Your Makefile will already need to know which project (by name) that it can update.

Hello Chris,

I have a doubt regarding the structure of the files. 
The shellscript "updateversion" that we write, is it supposed to be present inside the project directory 
along with other *.c, *.h files or is it supposed to be in the parent directory of the project directory.

For now, I have kept my shellscript inside the project folder along with the *.c and *.h files and am able 
to update the version numbers, date and time of the update without accepting any command-line argument. 

Please give some clarity on the hierarchy of the files. So that I will modify my code accordingly to 
reflect those changes. 

Thanks. 

Related articles

Assignment 2, Q1 (all 16) RSS
├─ original   Mon 11th May, 4:47pm, Mingbo Z.
├─ reply 1   Mon 11th May, 5:04pm, Christopher M.
├─ reply 2   Tue 12th May, 12:03pm, Nathan S.
├─ reply 3   Tue 12th May, 12:18pm, Christopher M.
├─ reply 4   Tue 12th May, 12:39pm, Nathan S.
├─ reply 5   Tue 12th May, 2:21pm, Christopher M.
├─ reply 6   Tue 12th May, 2:47pm, Nathan S.
├─ reply 7   Tue 12th May, 2:58pm, Christopher M.
├─ reply 8   Tue 12th May, 7:56pm, David M.
├─ reply 9   Tue 12th May, 10:42pm, Thanh T.
├─ reply 10   Wed 13th May, 6:43am, Christopher M.
├─ reply 11   Wed 27th May, 1:19pm, Matthew W.
├─ reply 12   Wed 27th May, 3:42pm, Christopher M.
├─ reply 13   Wed 27th May, 4:50pm, Jichunyang L.
├─ reply 14   Thu 28th May, 9:39am, Christopher M.
└─ THIS   Sun 31st May, 11:38am, Akhil E.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  3:57pm Aug 06 2020