(tar): Modify to convert `PACKAGE' in ftp.in.
authormorioka <morioka>
Tue, 1 Jun 1999 07:53:55 +0000 (07:53 +0000)
committermorioka <morioka>
Tue, 1 Jun 1999 07:53:55 +0000 (07:53 +0000)
Makefile

index 275b57e..26b5dc9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,8 @@ tar:
        cd /tmp; $(RM) $(PACKAGE)-$(VERSION)/ftp.in ; \
                $(TAR) cvzf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
        cd /tmp; $(RM) -r $(PACKAGE)-$(VERSION)
-       sed "s/VERSION/$(VERSION)/" < ftp.in | sed "s/API/$(API)/" > ftp
+       sed "s/VERSION/$(VERSION)/" < ftp.in | sed "s/API/$(API)/" \
+               | sed "s/PACKAGE/$(PACKAGE)/" > ftp
 
 release:
        -$(RM) $(ARC_DIR)/$(PACKAGE)-$(VERSION).tar.gz