mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-03 22:43:16 +02:00
Update Makefile (#439)
* Use make clean to clean up version, not .PHONY which causes rebuild during 'make install' * Update build instructions to use 'make clean' before 'make'
This commit is contained in:
parent
ebad4aed89
commit
62c5179653
7
Makefile
7
Makefile
|
@ -72,7 +72,7 @@ endif
|
|||
all: onedrive onedrive.service onedrive.1
|
||||
|
||||
clean:
|
||||
rm -f onedrive onedrive.o onedrive.service onedrive@.service onedrive.1
|
||||
rm -f onedrive onedrive.o onedrive.service onedrive@.service onedrive.1 version
|
||||
|
||||
onedrive: version $(SOURCES)
|
||||
$(DC) $(DFLAGS) $(SOURCES)
|
||||
|
@ -140,7 +140,4 @@ ifeq ($(gitversion),1)
|
|||
echo $(shell git describe --tags) > version
|
||||
else
|
||||
echo $(RELEASEVER) > version
|
||||
endif
|
||||
|
||||
.PHONY: version
|
||||
|
||||
endif
|
|
@ -181,7 +181,7 @@ Without performing this step, the compilation process will fail.
|
|||
```text
|
||||
git clone https://github.com/abraunegg/onedrive.git
|
||||
cd onedrive
|
||||
make
|
||||
make clean; make;
|
||||
sudo make install
|
||||
```
|
||||
|
||||
|
@ -203,7 +203,7 @@ information, useful (for example) to get `perf`-issued figures.
|
|||
```text
|
||||
git clone https://github.com/abraunegg/onedrive.git
|
||||
cd onedrive
|
||||
make DC=/usr/bin/ldc2
|
||||
make clean; make DC=/usr/bin/ldc2
|
||||
sudo make install
|
||||
```
|
||||
|
||||
|
@ -211,7 +211,7 @@ sudo make install
|
|||
```text
|
||||
git clone https://github.com/abraunegg/onedrive.git
|
||||
cd onedrive
|
||||
make DC=~/ldc2-1.13.0-linux-armhf/bin/ldmd2
|
||||
make clean; make DC=~/ldc2-1.13.0-linux-armhf/bin/ldmd2
|
||||
sudo make install
|
||||
```
|
||||
|
||||
|
@ -219,7 +219,7 @@ sudo make install
|
|||
```text
|
||||
git clone https://github.com/abraunegg/onedrive.git
|
||||
cd onedrive
|
||||
make DC=~/ldc2-1.14.0-linux-aarch64/bin/ldmd2
|
||||
make clean; make DC=~/ldc2-1.14.0-linux-aarch64/bin/ldmd2
|
||||
sudo make install
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue