Merged stash

develop
Jef Roosens 2020-12-02 15:07:29 +01:00
parent a13536d0c7
commit 25af8ba5fc
2 changed files with 13 additions and 13 deletions

View File

@ -2,6 +2,8 @@
## v0.1 ## v0.1
* Switched build to CMake * Switched build to CMake
* Completely overhauled code structure * Completely overhauled code structure
* Add a desktop entry when installing
based on [desktopentry](https://st.suckless.org/patches/desktopentry/)
## v0.2 ## v0.2
* Configurable transparency (focused and unfocused) * Configurable transparency (focused and unfocused)
@ -11,8 +13,6 @@
based on [anysize](https://st.suckless.org/patches/anysize/) based on [anysize](https://st.suckless.org/patches/anysize/)
* Copy to clipboard on selection * Copy to clipboard on selection
based on [one clipboard](https://st.suckless.org/patches/clipboard/) 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 ## v0.3
* Add better/gapless rendering of lines/blocks * Add better/gapless rendering of lines/blocks

View File

@ -16,20 +16,20 @@ all: debug
# =====INSTALL & UNINSTALL===== # =====INSTALL & UNINSTALL=====
install: release install: release
mkdir -p $(DESTDIR)$(PREFIX)/bin @ mkdir -p '$(DESTDIR)$(PREFIX)/bin'
cp -f build/release/stj $(DESTDIR)$(PREFIX)/bin @ cp -f '$(RELEASE_DIR)/$(BINARY)' '$(DESTDIR)$(PREFIX)/bin'
chmod 755 $(DESTDIR)$(PREFIX)/bin/stj @ chmod 755 '$(DESTDIR)$(PREFIX)/bin/$(BINARY)'
mkdir -p $(DESTDIR)$(MANPREFIX)/man1 @ mkdir -p '$(DESTDIR)$(MANPREFIX)/man1'
sed "s/VERSION/$(VERSION)/g" < data/stj.1 > $(DESTDIR)$(MANPREFIX)/man1/stj.1 @ sed "s/VERSION/$(VERSION)/g" < 'data/stj.1' > '$(DESTDIR)$(MANPREFIX)/man1/$(BINARY).1'
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/stj.1 @ chmod 644 '$(DESTDIR)$(MANPREFIX)/man1/$(BINARY).1'
tic -sx data/stj.info @ tic -sx 'data/stj.info'
cp -f data/stj.desktop $(DESTDIR)$(PREFIX)/share/applications @ cp -f 'data/$(BINARY).desktop' '$(DESTDIR)$(PREFIX)/share/applications'
.PHONY: install .PHONY: install
uninstall: uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/stj @ rm -f '$(DESTDIR)$(PREFIX)/bin/$(BINARY)'
rm -f $(DESTDIR)$(MANPREFIX)/man1/stj.1 @ rm -f '$(DESTDIR)$(MANPREFIX)/man1/$(BINARY).1'
rm -f $(DESTDIR)$(PREFIX)/share/applications/stj.desktop @ rm -f '$(DESTDIR)$(PREFIX)/share/applications/$(BINARY).desktop'
.PHONY: uninstall .PHONY: uninstall