Skip to main content

All Questions

Tagged with
0 votes
1 answer
3k views

Variables not being set in Makefile

I have to set the profile variable in Makefile, if it's not set by default, here is my approach. But when I run this, echo statements work fine, but variables are not being set. set_vars: if [ &...
DilLip_Chowdary's user avatar
2 votes
1 answer
5k views

Proper syntax for escaping a `$` in a regex in a bash shell script/makefile?

I'm running a Makefile which includes the following line... find ./ -type f -regextype emacs -regex ".*tests$" | xargs rm -f and am getting an error: find ./ -type f -regextype emacs -regex ".*...
iceman's user avatar
  • 361
1 vote
1 answer
244 views

Is there any way to see make file with all variables substituted

I have huge long makefile written by some other guy, where all coomands contain variables. In order to decode what this command is doing i have look around what that variable is and its taking too ...
user1721949's user avatar
1 vote
1 answer
5k views

executing a shell-script through makefile

i am trying to create a .deb file that first installs the dependency that is stored in the some folder, for that i have created a shell script. My issue is executing the shell script through make file ...
Shurmajee's user avatar
  • 468
1 vote
1 answer
2k views

Problem isolating the environment variable in a shell script

I’m a novice here but stackoverflow has helped me in the past. I’m writing a bash shell script to generate a makefile (starting small). echo "\ include \$(GNUSTEP_MAKEFILES)/common.make APP_NAME = ...
Not Rick Astley's user avatar