fix dist target

This commit is contained in:
Leonardo Hernández Hernández 2022-08-08 21:30:37 -05:00
parent 620fd9dc56
commit 6ce035303e
No known key found for this signature in database
GPG key ID: E538897EE11B9624

View file

@ -45,10 +45,9 @@ clean:
# distribution archive # distribution archive
dist: clean dist: clean
mkdir -p dwl-$(VERSION) mkdir -p dwl-$(VERSION)
cp -R LICENSE* Makefile README.md generate-version.sh client.h\ cp -R LICENSE* Makefile README.md client.h config.def.h\
config.def.h config.mk protocols dwl.1 dwl.c util.c util.h\ config.mk protocols dwl.1 dwl.c util.c util.h\
dwl-$(VERSION) dwl-$(VERSION)
echo "echo $(VERSION)" > dwl-$(VERSION)/generate-version.sh
tar -caf dwl-$(VERSION).tar.gz dwl-$(VERSION) tar -caf dwl-$(VERSION).tar.gz dwl-$(VERSION)
rm -rf dwl-$(VERSION) rm -rf dwl-$(VERSION)