Skip to content

Commit

Permalink
Remove PWD not working well
Browse files Browse the repository at this point in the history
PWD does not given the correct path with make -C
  • Loading branch information
Lecrapouille committed Apr 30, 2024
1 parent 9f5eb26 commit fd66806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.footer
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ doc:
# Create a backup of the code as a tarball file.
.PHONY: tarball
tarball:
@./$(M)/targz.sh $(PWD) $(TARGET)
@./$(M)/targz.sh $(P) $(TARGET)

###################################################
# Generate a header file with the project information.
Expand Down Expand Up @@ -270,7 +270,7 @@ about:
# Clean the project
.PHONY: clean
clean::
@$(call print-simple,"Cleaning","$(PWD)")
@$(call print-to,"Cleaning","$(TARGET)","$(abspath .)")
@rm -fr $(BUILD) $(GENDOC)/coverage $(GENDOC)/html $(GENDOC)/gprof 2> /dev/null

###################################################
Expand Down

0 comments on commit fd66806

Please sign in to comment.