comparison src/stable-octave.mk @ 6392:8fe292548edf

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
author John Donoghue <john.donoghue@ieee.org>
date Wed, 31 Aug 2022 08:09:19 -0400
parents ecc4c238a1ab
children d61d7dc83f98
comparison
equal deleted inserted replaced
6391:20425046a8fe 6392:8fe292548edf
234 fi 234 fi
235 235
236 # create a file with latest installed octave rev in it 236 # create a file with latest installed octave rev in it
237 mkdir -p '$(TOP_BUILD_DIR)/octave' 237 mkdir -p '$(TOP_BUILD_DIR)/octave'
238 echo "$($(PKG)_VERSION)" > $(TOP_BUILD_DIR)/octave/octave-version 238 echo "$($(PKG)_VERSION)" > $(TOP_BUILD_DIR)/octave/octave-version
239 $(SED) -n 's,.*"api-v\([^"]*\)".*,\1,p' $(3)$(HOST_INCDIR)/octave-$($(PKG)_VERSION)/octave/version.h > $(TOP_BUILD_DIR)/octave/octave-api
239 endef 240 endef