aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-03-08 21:51:42 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-03-08 21:51:42 +0000
commit24fd4f668d96c4297429bf7a6746b1ff3aec12b5 (patch)
treea727bedb50adf139168cc2c2d779d1ff3c330129 /Makefile
parent8237f3a1bc79687e37a6c6bf9ec66fde2eefe29d (diff)
downloadtermo-24fd4f668d96c4297429bf7a6746b1ff3aec12b5.tar.gz
termo-24fd4f668d96c4297429bf7a6746b1ff3aec12b5.tar.xz
termo-24fd4f668d96c4297429bf7a6746b1ff3aec12b5.zip
Use man/also for manpage aliasing rather than duplicating the list (incorrectly) in the Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index bfa1e32..ffe130f 100644
--- a/Makefile
+++ b/Makefile
@@ -78,13 +78,9 @@ install-man:
for F in man/*.7; do \
gzip <$$F >$(DESTDIR)$(MAN7DIR)/$${F#man/}.gz; \
done
- ln -sf termkey_new.3.gz $(DESTDIR)$(MAN3DIR)/termkey_destroy.3.gz
- ln -sf termkey_new.3.gz $(DESTDIR)$(MAN3DIR)/termkey_new_abstract.3.gz
- ln -sf termkey_getkey.3.gz $(DESTDIR)$(MAN3DIR)/termkey_getkey_force.3.gz
- ln -sf termkey_set_waittime.3.gz $(DESTDIR)$(MAN3DIR)/termkey_get_waittime.3.gz
- ln -sf termkey_set_flags.3.gz $(DESTDIR)$(MAN3DIR)/termkey_get_flags.3.gz
- ln -sf termkey_set_canonflags.3.gz $(DESTDIR)$(MAN3DIR)/termkey_get_canonflags.3.gz
- ln -sf termkey_set_buffer_size.3.gz $(DESTDIR)$(MAN3DIR)/termkey_get_buffer_size.3.gz
+ while read FROM EQ TO; do \
+ echo ln -sf $$TO.gz $(DESTDIR)$(MAN3DIR)/$$FROM.gz; \
+ done < man/also
# DIST CUT