Use notdir in Makefile

This commit is contained in:
Werner Fink 2010-04-29 10:41:19 +00:00
parent 27821f3c1b
commit 1f809110cb

View File

@ -18,11 +18,11 @@ upload: $(SFTPBATCH)
$(SFTPBATCH): $(TARBALL).sig $(SFTPBATCH): $(TARBALL).sig
@echo progress > $@ @echo progress > $@
@echo put $(TARBALL) >> $@ @echo put $(TARBALL) >> $@
@echo chmod 644 $(TARBALL) >> $@ @echo chmod 664 $(notdir $(TARBALL)) >> $@
@echo put $(TARBALL).sig >> $@ @echo put $(TARBALL).sig >> $@
@echo chmod 644 $(TARBALL).sig >> $@ @echo chmod 664 $(notdir $(TARBALL)).sig >> $@
@echo rm $(PACKAGE)-latest.tar.bz2 >> $@ @echo rm $(PACKAGE)-latest.tar.bz2 >> $@
@echo symlink $(TARBALL) $(PACKAGE)-latest.tar.bz2 >> $@ @echo symlink $(notdir $(TARBALL)) $(PACKAGE)-latest.tar.bz2 >> $@
@echo quit >> $@ @echo quit >> $@
$(TARBALL).sig: $(TARBALL) $(TARBALL).sig: $(TARBALL)