I have a makefile that I am trying to get to build a binary dist for me, by putting the date and time into the tar filename. I can't for the life of me get it to work. ONCE I ran it and it worked, and then I deleted the tar files and tried again without editing it, and it failed.. go figure.. Haven't been able to get it to work again. I'm not very "make" literate, and can't get command substitution working right. DISTDIR=dist/ all: bindist: @echo Making: bindist @echo -n "Creating tar archive ... " @DATECODE=`/bin/date +"%Y-%m-%d-%H%M"` tar --exclude-from bindist-excludelist.txt \ -zcvf $(DISTDIR)/mikeweb-$(DATECODE).tar.gz * @echo done. Any help appreciated. TTYL -- Mike A. Harris | Computer Consultant | Capslock Consulting Linux Advocate | Open Source Advocate | Red Hat Linux Fanatic Red Hat FAQ tip: Having trouble upgrading RPM 3.0.x to RPM 4.0.x? Upgrade first to version 3.0.5, and then to 4.0.x. All packages are available on Red Hat's ftp sites: ftp://ftp.redhat.com ftp://rawhide.redhat.com _______________________________________________ Redhat-devel-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-devel-list