diff --git a/Makefile b/Makefile index cfc3691..dbfd450 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ DISTFILES = \ mt.c \ mtio.h \ README.md \ - mt-st \ + mt-st.bash_completion \ stinit.8 \ stinit.c \ stinit.def.examples \ @@ -44,7 +44,7 @@ install: $(PROGS) $(INSTALL) -d $(BINDIR) $(SBINDIR) $(MANDIR) $(MANDIR)/man1 $(MANDIR)/man8 $(COMPLETIONINSTALLDIR) $(INSTALL) mt $(BINDIR) $(INSTALL) -m 444 mt.1 $(MANDIR)/man1 - $(INSTALL) -m 644 mt-st $(COMPLETIONINSTALLDIR) + $(INSTALL) -m 644 mt-st.bash_completion $(COMPLETIONINSTALLDIR)/mt-st (if [ -f $(MANDIR)/man1/mt.1.gz ] ; then \ rm -f $(MANDIR)/man1/mt.1.gz; gzip $(MANDIR)/man1/mt.1; fi) $(INSTALL) stinit $(SBINDIR) diff --git a/README.md b/README.md index e6194d2..40da51e 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ The files: - `stinit.c`: The stinit source - `stinit.8`: The man page for stinit - `stinit.def.examples`: example configurations for different devices -- `mt-st`: bash auto completion file +- `mt-st.bash_completion`: bash auto completion file ## Installation diff --git a/mt-st b/mt-st.bash_completion similarity index 100% rename from mt-st rename to mt-st.bash_completion