summary refs log tree commit diff
path: root/rfc/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-20 19:04:45 -0500
committerJune McEnroe <june@causal.agency>2020-12-20 19:04:45 -0500
commitf4d9a46d488681a4ba001bf62e1b6ef2a983d256 (patch)
tree33c2f43ad1b5c57d0af06cf180c5281b0646979e /rfc/Makefile
parentConvert :RFC number to number (diff)
downloadsrc-f4d9a46d488681a4ba001bf62e1b6ef2a983d256.tar.gz
src-f4d9a46d488681a4ba001bf62e1b6ef2a983d256.zip
Depend on rfc-index.txt.gz in Makefile
Diffstat (limited to '')
-rw-r--r--rfc/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/rfc/Makefile b/rfc/Makefile
index 630b09f9..a629782d 100644
--- a/rfc/Makefile
+++ b/rfc/Makefile
@@ -1,13 +1,11 @@
 MODULE = ftp.rfc-editor.org::rfcs-text-only
 
-tags: rfctags.pl
+tags: rfctags.pl rfc-index.txt.gz
 	perl rfctags.pl | sort -f > $@
 
-sync:
-	rsync -z ${MODULE}/rfc-index.txt ${MODULE}/'rfc[0-9]*.txt' .
-
-compress:
+rfc-index.txt.gz:
+	rsync -ptz ${MODULE}/rfc-index.txt ${MODULE}/'rfc[1-9]*.txt' .
 	gzip -9f *.txt
 
 clean:
-	rm -f *.txt *.txt.gz tags
+	rm -f tags *.txt *.txt.gz