diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-03-08 21:51:42 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-03-08 21:51:42 +0000 |
commit | 24fd4f668d96c4297429bf7a6746b1ff3aec12b5 (patch) | |
tree | a727bedb50adf139168cc2c2d779d1ff3c330129 | |
parent | 8237f3a1bc79687e37a6c6bf9ec66fde2eefe29d (diff) | |
download | termo-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
-rw-r--r-- | Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -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 |