forked from speedie/spmenu
auto change version number, because i cannot do it myself apparently
This commit is contained in:
parent
78138025d2
commit
f08e91e3e2
4
Makefile
4
Makefile
|
@ -51,7 +51,9 @@ install: all
|
||||||
rm -rf $(DESTDIR)$(PREFIX)/share/spmenu/
|
rm -rf $(DESTDIR)$(PREFIX)/share/spmenu/
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/share/spmenu
|
mkdir -p $(DESTDIR)$(PREFIX)/share/spmenu
|
||||||
|
cp docs/example.Xresources example.Xresources.orig && sed -i "s/VERSION/$(VERSION)/g" docs/example.Xresources
|
||||||
cp -r docs/* $(DESTDIR)$(PREFIX)/share/spmenu/
|
cp -r docs/* $(DESTDIR)$(PREFIX)/share/spmenu/
|
||||||
|
mv example.Xresources.orig docs/example.Xresources
|
||||||
echo "${VERSION}" > $(DESTDIR)$(PREFIX)/share/spmenu/version
|
echo "${VERSION}" > $(DESTDIR)$(PREFIX)/share/spmenu/version
|
||||||
echo "${CC}" > $(DESTDIR)$(PREFIX)/share/spmenu/cc
|
echo "${CC}" > $(DESTDIR)$(PREFIX)/share/spmenu/cc
|
||||||
echo "${CFLAGS}" > $(DESTDIR)$(PREFIX)/share/spmenu/cflags
|
echo "${CFLAGS}" > $(DESTDIR)$(PREFIX)/share/spmenu/cflags
|
||||||
|
@ -74,6 +76,8 @@ uninstall:
|
||||||
$(DESTDIR)$(PREFIX)/bin/spmenu*
|
$(DESTDIR)$(PREFIX)/bin/spmenu*
|
||||||
|
|
||||||
help:
|
help:
|
||||||
|
@echo spmenu Makefile help
|
||||||
|
@echo
|
||||||
@echo install: Installs spmenu. You may need to run this as root.
|
@echo install: Installs spmenu. You may need to run this as root.
|
||||||
@echo uninstall: Uninstalls spmenu. You may need to run this as root.
|
@echo uninstall: Uninstalls spmenu. You may need to run this as root.
|
||||||
@echo dist: Creates a release for spmenu.
|
@echo dist: Creates a release for spmenu.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
! spmenu 0.2.2 default configuration
|
! spmenu VERSION default configuration
|
||||||
!
|
!
|
||||||
! You may copy this configuration file to ~/.config/spmenu/spmenurc OR ~/.spmenurc, it will be loaded on runtime.
|
! You may copy this configuration file to ~/.config/spmenu/spmenurc OR ~/.spmenurc, it will be loaded on runtime.
|
||||||
! It is .Xresources syntax. As such you may also append it to your existing .Xresources configuration, use programs like Pywal to have universal colorschemes.
|
! It is .Xresources syntax. As such you may also append it to your existing .Xresources configuration, use programs like Pywal to have universal colorschemes.
|
||||||
|
|
Loading…
Reference in a new issue