Commit 3ad5a680 authored by Oskar Skog's avatar Oskar Skog

Don't nuke highscores and configuration files

parent a6fca114
2019-07-11 Oskar Skog <https://oskog97.com/#contact>
0.5.10
* Makefile.static: Don't remove highscores file on uninstall. Added
new target 'nuke'.
2019-07-07 Oskar Skog <https://oskog97.com/#contact>
0.5.9:
0.5.9
* mkdist: I forgot to include windows-beta and INSTALL.Windows.txt in
0.5.6.
* Makefile.static: Uninstall symlinks for other Python versions.
* anonymine.py: issues/27
2019-06-30 Oskar Skog <https://oskog97.com/#contact>
0.5.8:
0.5.8
* configure: Prioritize Python 2 over Python 3. (Python 2 is faster.)
* symlinks: Allow removal of non-symlinks. (Necessary after this
update.)
......
......@@ -15,7 +15,7 @@
NAME := anonymine
NAME_C := Anonymine
DESCRIPTION = Minesweeper without guessing
VERSION := 0.5.9
VERSION := pre-0.5.10
# Four more variables are required: sysconfdir, vargamesdir, EXECUTABLES and
# MODULES
......@@ -281,9 +281,9 @@ _install : _all _check-install-cfg _install-dirs
"$(FD_DESKTOP_DEST)" || true; \
fi
uninstall: $(builddir)Makefile FORCE
uninstall : $(builddir)Makefile FORCE
@cd "$(builddir)" && $(MAKE) _uninstall >/dev/null
_uninstall: FORCE
_uninstall : FORCE
@$(PRE_UNINSTALL)
@if "$(freedesktop)"; then \
xdg-desktop-menu uninstall --novendor --mode system \
......@@ -294,9 +294,8 @@ _uninstall: FORCE
@-python3 symlinks uninstall
@-python2 symlinks uninstall
@$(NORMAL_UNINSTALL)
@-rm -r "$(CFG_DIR)"
@-rm "$(ENGINE_DEST)" "$(SOLVER_DEST)" "$(FIELDS_DEST)" "$(MAIN_DEST)"
@-rm "$(HISCORE_FILE)"
@if "$(freedesktop)"; then \
rm "$(FD_DESKTOP_DEST)" || true; \
for size in $(FD_ICON_SIZES); do \
......@@ -307,6 +306,12 @@ _uninstall: FORCE
rm -r "$(BUNDLE)" || true; \
fi
nuke : uninstall FORCE
@cd "$(builddir)" && $(MAKE) _nuke >/dev/null
_nuke : FORCE
@-rm "$(HISCORE_FILE)"
@-rm -r "$(CFG_DIR)"
print-destinations : $(builddir)Makefile FORCE
@cd "$(builddir)" && $(MAKE) _print-destinations >/dev/null
_print-destinations : FORCE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment