Merged stash
parent
a13536d0c7
commit
25af8ba5fc
|
@ -2,6 +2,8 @@
|
|||
## v0.1
|
||||
* Switched build to CMake
|
||||
* Completely overhauled code structure
|
||||
* Add a desktop entry when installing
|
||||
based on [desktopentry](https://st.suckless.org/patches/desktopentry/)
|
||||
|
||||
## v0.2
|
||||
* Configurable transparency (focused and unfocused)
|
||||
|
@ -11,8 +13,6 @@
|
|||
based on [anysize](https://st.suckless.org/patches/anysize/)
|
||||
* Copy to clipboard on selection
|
||||
based on [one clipboard](https://st.suckless.org/patches/clipboard/)
|
||||
* Add a desktop entry when installing
|
||||
based on [desktopentry](https://st.suckless.org/patches/desktopentry/)
|
||||
|
||||
## v0.3
|
||||
* Add better/gapless rendering of lines/blocks
|
||||
|
|
22
Makefile
22
Makefile
|
@ -16,20 +16,20 @@ all: debug
|
|||
|
||||
# =====INSTALL & UNINSTALL=====
|
||||
install: release
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
cp -f build/release/stj $(DESTDIR)$(PREFIX)/bin
|
||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/stj
|
||||
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
||||
sed "s/VERSION/$(VERSION)/g" < data/stj.1 > $(DESTDIR)$(MANPREFIX)/man1/stj.1
|
||||
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/stj.1
|
||||
tic -sx data/stj.info
|
||||
cp -f data/stj.desktop $(DESTDIR)$(PREFIX)/share/applications
|
||||
@ mkdir -p '$(DESTDIR)$(PREFIX)/bin'
|
||||
@ cp -f '$(RELEASE_DIR)/$(BINARY)' '$(DESTDIR)$(PREFIX)/bin'
|
||||
@ chmod 755 '$(DESTDIR)$(PREFIX)/bin/$(BINARY)'
|
||||
@ mkdir -p '$(DESTDIR)$(MANPREFIX)/man1'
|
||||
@ sed "s/VERSION/$(VERSION)/g" < 'data/stj.1' > '$(DESTDIR)$(MANPREFIX)/man1/$(BINARY).1'
|
||||
@ chmod 644 '$(DESTDIR)$(MANPREFIX)/man1/$(BINARY).1'
|
||||
@ tic -sx 'data/stj.info'
|
||||
@ cp -f 'data/$(BINARY).desktop' '$(DESTDIR)$(PREFIX)/share/applications'
|
||||
.PHONY: install
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/stj
|
||||
rm -f $(DESTDIR)$(MANPREFIX)/man1/stj.1
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/applications/stj.desktop
|
||||
@ rm -f '$(DESTDIR)$(PREFIX)/bin/$(BINARY)'
|
||||
@ rm -f '$(DESTDIR)$(MANPREFIX)/man1/$(BINARY).1'
|
||||
@ rm -f '$(DESTDIR)$(PREFIX)/share/applications/$(BINARY).desktop'
|
||||
.PHONY: uninstall
|
||||
|
||||
|
||||
|
|
Reference in New Issue