Install as a debian alternative x-terminal-emulator
This commit is contained in:
parent
951c5911d4
commit
26c71a4416
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -43,9 +43,11 @@ install: st
|
||||||
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
|
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
|
||||||
tic -sx st.info
|
tic -sx st.info
|
||||||
@echo Please see the README file regarding the terminfo entry of st.
|
@echo Please see the README file regarding the terminfo entry of st.
|
||||||
|
update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator ${DESTDIR}${PREFIX}/bin/st 50
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)$(PREFIX)/bin/st
|
rm -f $(DESTDIR)$(PREFIX)/bin/st
|
||||||
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
|
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
|
||||||
|
update-alternatives --remove x-terminal-emulator ${DESTDIR}${PREFIX}/bin/st
|
||||||
|
|
||||||
.PHONY: all clean dist install uninstall
|
.PHONY: all clean dist install uninstall
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue