mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
* Makefile : add dist target
This commit is contained in:
parent
cf8e229098
commit
cd3a7040b0
7
Makefile
7
Makefile
@ -41,5 +41,12 @@ $(SHLIB): $(patsubst %.cpp,obj/%.o,$(LIB_SRC))
|
||||
clean:
|
||||
rm -fr obj $(I2PD) $(SHLIB)
|
||||
|
||||
LATEST_TAG=$(shell git describe --tags --abbrev=0 master)
|
||||
dist:
|
||||
git archive --format=tar.gz -9 --worktree-attributes \
|
||||
--prefix=i2pd_$(LATEST_TAG)/ $(LATEST_TAG) -o i2pd_$(LATEST_TAG).tar.gz
|
||||
|
||||
|
||||
.PHONY: all
|
||||
.PHONY: clean
|
||||
.PHONY: dist
|
||||
|
Loading…
Reference in New Issue
Block a user