Check for exists createlink LICENSE and C
OPYING before copuying into archive
This commit is contained in:
parent
46459effc0
commit
262ab21026
@ -346,9 +346,9 @@ archivefile:
|
||||
@echo "TEMPDIR:$(TEMPDIR)"
|
||||
mkdir -p $(TEMPDIR)/$(TREEPATH)
|
||||
cp -r root $(TEMPDIR)/$(TREEPATH)
|
||||
cp createlinks $(TEMPDIR)/$(TREEPATH)
|
||||
cp COPYING $(TEMPDIR)/$(TREEPATH)
|
||||
cp LICENSE $(TEMPDIR)/$(TREEPATH)
|
||||
if test -f creatlinks ; then cp createlinks $(TEMPDIR)/$(TREEPATH)
|
||||
if test -f COPYING ; then cp COPYING $(TEMPDIR)/$(TREEPATH)
|
||||
if test -f LICENSE ; then cp LICENSE $(TEMPDIR)/$(TREEPATH) ; fi ;
|
||||
rm -f $TREEPATH.$EXT*
|
||||
tar -czvf $(TREEPATH).$(EXT) -C $(TEMPDIR) $(TREEPATH)
|
||||
find $(TEMPDIR) -delete
|
||||
|
Loading…
Reference in New Issue
Block a user