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
commit049e5c654dcabec01449d9ac38cf5088865a8dbf (patch)
treeb5a2a0f005e601aa4f676a79ccd44bc5e0083832 /rfc/Makefile
parentConvert :RFC number to number (diff)
downloadsrc-049e5c654dcabec01449d9ac38cf5088865a8dbf.tar.gz
src-049e5c654dcabec01449d9ac38cf5088865a8dbf.zip
Depend on rfc-index.txt.gz in Makefile
Diffstat (limited to 'rfc/Makefile')
-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