added 'cleanall' to Makefile

master
Bernie Hoeneisen 5 years ago
parent bf594ef85a
commit bb3855ef00
  1. 3
      pep-email/Makefile
  2. 3
      pep-handshake/Makefile
  3. 25
      pep-keysync/Makefile
  4. 3
      pep-rating/Makefile
  5. 3
      pep-trustwords/Makefile
  6. 3
      pep/Makefile

@ -20,4 +20,7 @@ $(DRAFT).html: $(DRAFT).xml
clean:
rm -f $(OUTPUTS)
cleanall:
rm -f -r $(NAME)-* .refcache
.PHONY: clean all

@ -20,4 +20,7 @@ $(DRAFT).html: $(DRAFT).xml
clean:
rm -f $(OUTPUTS)
cleanall:
rm -f -r $(NAME)-* .refcache
.PHONY: clean all

@ -1,27 +1,26 @@
#!/usr/bin/make -f
NAME := draft-birk-pep-keysync
# REV NN is pre-00
REV := NN
REV := 00
DRAFT := $(NAME)-$(REV)
OUTPUTS = $(DRAFT).txt $(DRAFT).html $(DRAFT).xml
OUTPUTS = $(DRAFT).xml $(DRAFT).txt $(DRAFT).html
all: $(OUTPUTS)
$(DRAFT).txt: abstract.mkd middle.mkd back.mkd
pandoc2rfc -T abstract.mkd middle.mkd back.mkd
mv draft.txt $(DRAFT).txt
$(DRAFT).xml: $(NAME).mkd
kramdown-rfc2629 $(NAME).mkd > $(DRAFT).xml
$(DRAFT).html: abstract.mkd middle.mkd back.mkd
pandoc2rfc -H abstract.mkd middle.mkd back.mkd
mv draft.html $(DRAFT).html
$(DRAFT).txt: $(DRAFT).xml
xml2rfc $(DRAFT).xml
$(DRAFT).xml: abstract.mkd middle.mkd back.mkd
pandoc2rfc -X abstract.mkd middle.mkd back.mkd
mv draft.xml $(DRAFT).xml
$(DRAFT).html: $(DRAFT).xml
xml2rfc --html $(DRAFT).xml
clean:
rm -f $(OUTPUTS) abstract.xml middle.xml back.xml
rm -f $(OUTPUTS)
cleanall:
rm -f -r $(NAME)-* .refcache
.PHONY: clean all

@ -20,4 +20,7 @@ $(DRAFT).html: $(DRAFT).xml
clean:
rm -f $(OUTPUTS)
cleanall:
rm -f -r $(NAME)-* .refcache
.PHONY: clean all

@ -20,4 +20,7 @@ $(DRAFT).html: $(DRAFT).xml
clean:
rm -f $(OUTPUTS)
cleanall:
rm -f -r $(NAME)-* .refcache
.PHONY: clean all

@ -20,4 +20,7 @@ $(DRAFT).html: $(DRAFT).xml
clean:
rm -f $(OUTPUTS)
cleanall:
rm -f -r $(NAME)-* .refcache
.PHONY: clean all

Loading…
Cancel
Save