don't build if unnecessary

This commit is contained in:
Randy Bush 2022-06-02 12:49:56 -07:00
parent 38fc8953c7
commit 37d7ee402e

View file

@ -8,10 +8,12 @@ NAME=draft-ietf-sidrops-rov-no-rr
DEST=archive.psg.com:public_html DEST=archive.psg.com:public_html
RSY=rsync --rsh ssh -v -a -l -H -p -t -x --delete RSY=rsync --rsh ssh -v -a -l -H -p -t -x --delete
all: $(NAME).xml all: $(NAME).txt
$(NAME).txt: $(NAME).xml
xml2rfc $(NAME).xml --html --text xml2rfc $(NAME).xml --html --text
rsy: rsy: $(NAME).html $(NAME).txt
$(RSY) $(NAME).html $(DEST) $(RSY) $(NAME).html $(DEST)
$(RSY) $(NAME).txt $(DEST) $(RSY) $(NAME).txt $(DEST)