Mercurial > mxe-octave
comparison src/release-octave.mk @ 6396:d5e6775fb3bc release
Add uninstall options to remove local packages and settings (Bug #62352)
* src/default-octave.mk, src/release-octave.mk, src/stable-octave.mk: save api version to file
* tools/makeinst-script.sh.in: add uninstall options, and on set, remove specified files from appdata/octave
(grafted from 8fe292548edfeb8a82e64f0e2b5da1a65e35d835)
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 31 Aug 2022 08:09:19 -0400 |
parents | 6d085baf3a99 |
children | d61d7dc83f98 |
comparison
equal
deleted
inserted
replaced
6386:1dde81c1f186 | 6396:d5e6775fb3bc |
---|---|
255 fi | 255 fi |
256 | 256 |
257 # create a file with latest installed octave rev in it | 257 # create a file with latest installed octave rev in it |
258 mkdir -p '$(TOP_BUILD_DIR)/octave' | 258 mkdir -p '$(TOP_BUILD_DIR)/octave' |
259 echo "$($(PKG)_VERSION)" > $(TOP_BUILD_DIR)/octave/octave-version | 259 echo "$($(PKG)_VERSION)" > $(TOP_BUILD_DIR)/octave/octave-version |
260 $(SED) -n 's,.*"api-v\([^"]*\)".*,\1,p' $(3)$(HOST_INCDIR)/octave-$($(PKG)_VERSION)/octave/version.h > $(TOP_BUILD_DIR)/octave/octave-api | |
260 endef | 261 endef |