about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2014-07-31 21:00:45 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2014-07-31 21:00:45 +0200
commitc4dac241febbb15cb3278867f6893fcd46f1e3f2 (patch)
treed9499759a42d31e7fce81ca4537abf64f5f406bd
parent1fd18a0f78a70295e2c270a7386483320e5c6fde (diff)
downloadoutils-c4dac241febbb15cb3278867f6893fcd46f1e3f2.tar.gz
outils-c4dac241febbb15cb3278867f6893fcd46f1e3f2.tar.xz
outils-c4dac241febbb15cb3278867f6893fcd46f1e3f2.zip
install md5 symlinks
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 218abe3..d3c4a8c 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,14 @@ PREFIX=/usr
 install: all
 	mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1
 	install -m755 $(ALL) $(DESTDIR)$(PREFIX)/bin
+	ln -sf md5 $(DESTDIR)$(PREFIX)/bin/sha1
+	ln -sf md5 $(DESTDIR)$(PREFIX)/bin/sha256
+	ln -sf md5 $(DESTDIR)$(PREFIX)/bin/sha512
+	ln -sf md5 $(DESTDIR)$(PREFIX)/bin/cksum
 	install -m644 src/*/*/*.1 $(DESTDIR)$(PREFIX)/share/man/man1
+	ln -sf md5.1 $(DESTDIR)$(PREFIX)/share/man/man1/sha1.1
+	ln -sf md5.1 $(DESTDIR)$(PREFIX)/share/man/man1/sha256.1
+	ln -sf md5.1 $(DESTDIR)$(PREFIX)/share/man/man1/sha512.1
 
 install-calendars:
 	cp -r src/usr.bin/calendar/calendars $(DESTDIR)$(PREFIX)/share/calendar