diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2025-06-26 16:20:39 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2025-06-26 16:20:39 +0400 |
commit | 1827d30776d2155e113d8f37dae33f69f91ed400 (patch) | |
tree | 19cca7ee1a12941ea1db2c5f5db02adc6e26f05f /Makefile | |
parent | f65d6a800eebfbc6018afbef29f214776a026b2e (diff) |
fix(makefile): install man pages and run tic for st.info
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -33,11 +33,14 @@ dist: clean tar -czf st_farajli-$(VERSION).tar.gz st_farajli-$(VERSION) rm -rf st_farajli-$(VERSION) -# FIXME: Doesn't install man pages install: st mkdir -p $(DESTDIR)$(PREFIX)/bin cp -f st $(DESTDIR)$(PREFIX)/bin chmod 755 $(DESTDIR)$(PREFIX)/bin/st + mkdir -p $(DESTDIR)$(MANPREFIX)/man1 + sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1 + chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 + tic -sx st.info uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/st |