add makefile

This commit is contained in:
randomuser 2020-12-13 14:10:20 -06:00
parent e97c820f6c
commit 5ebfec6678
1 changed files with 8 additions and 0 deletions

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
install: man sh
man:
mkdir -p $(DESTDIR)$(PREFIX)/man1
cp -f *.1 $(DESTDIR)$(PREFIX)/man1
sh:
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f paste $(DESTDIR)$(PREFIX)/bin
cp -f bat $(DESTDIR)$(PREFIX)/bin