about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f801474..8967842 100644
--- a/Makefile
+++ b/Makefile
@@ -78,12 +78,12 @@ lint:
 install:
 	install -d $(MANDIR)/man3
 	for man in $(MAN); do gzip -c $${man} > $(MANDIR)/man3/$${man}.gz; done
-	set -- $(MLINKS); while [ "$$*" ]; do \
+	set -- $(MLINKS); while [ -n "$$*" ]; do \
 		ln -f $(MANDIR)/man3/$$1.gz $(MANDIR)/man3/$$2.gz; shift 2; done
 
 uninstall:
 	for man in $(MAN); do rm -f $(MANDIR)/man3/$${man}.gz; done
-	set -- $(MLINKS); while [ "$$*" ]; do \
+	set -- $(MLINKS); while [ -n "$$*" ]; do \
 		rm -f $(MANDIR)/man3/$$2.gz; shift 2; done
 
 README: zlib-man-pages.7
June McEnroe 2021-01-12Remove hacky tagging from hilexJune McEnroe 2021-01-12Add htagml -iJune McEnroe 2021-01-12Render tag index in HTMLJune McEnroe 2021-01-12Add htagml -xJune McEnroe 2021-01-12Prevent matching the same tag twiceJune McEnroe 2021-01-12Process htagml file line by lineJune McEnroe 2021-01-12Split fields by tab onlyJune McEnroe 2021-01-12List both Makefile and html.sh under README.7June McEnroe 2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe 2021-01-09Add c -t flag to print expression typeJune McEnroe 2021-01-05Update taglineJune McEnroe