Add in Copying in COPYING and LICENSE to tar file

This commit is contained in:
Brian Read 2023-02-24 14:04:21 +00:00
parent f5d26ad6e6
commit 46459effc0

View File

@ -345,8 +345,10 @@ archivefile:
@echo "Making archive $(TREEPATH).$(EXT)"
@echo "TEMPDIR:$(TEMPDIR)"
mkdir -p $(TEMPDIR)/$(TREEPATH)
cp -r root $(TEMPDIR)/$(TREEPATH)/
cp createlinks $(TEMPDIR)/$(TREEPATH)/
cp -r root $(TEMPDIR)/$(TREEPATH)
cp createlinks $(TEMPDIR)/$(TREEPATH)
cp COPYING $(TEMPDIR)/$(TREEPATH)
cp LICENSE $(TEMPDIR)/$(TREEPATH)
rm -f $TREEPATH.$EXT*
tar -czvf $(TREEPATH).$(EXT) -C $(TEMPDIR) $(TREEPATH)
find $(TEMPDIR) -delete