I had a simple variable definition in my makefile:
THIS := ~/edan
and it had trailing spaces in the line.
Later, when I defined another variable in terms of this one:
WARES := $(THIS)/wares
the actual variable defined was /home/directory/edan wares
and then the make clean rule removed /home/directory/edan instead...
I am logged in as a regular user. Should I use:
./configure && make && make install
or
sudo ./configure && sudo make && sudo make install
or
./configure && make && sudo make install
when installing packages.
And could someone explain the differences.
I want all users to be able to use it.
...
I need to convert all paths with '\' in them to '/'. The makefile is quite long and doing this manually is impossible.
Is there some way to quickly convert them? Keep in mind that a global replace is not possible because '\' is also used to denote that a command is continued on the following line.
...