mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 20:13:33 +01:00
Linux/FreeBSD: change location of documentation from /usr/share/veracrypt/doc to the standard /usr/share/doc/veracrypt
This commit is contained in:
parent
be6c817873
commit
a4145721a7
@ -1309,7 +1309,7 @@ namespace VeraCrypt
|
||||
#elif defined (TC_MACOSX)
|
||||
htmlPath += L"/../Resources/doc/HTML/";
|
||||
#elif defined (TC_UNIX)
|
||||
htmlPath = L"/usr/share/veracrypt/doc/HTML/";
|
||||
htmlPath = L"/usr/share/doc/veracrypt/HTML/";
|
||||
#else
|
||||
localFile = false;
|
||||
#endif
|
||||
|
@ -286,12 +286,12 @@ ifeq "$(PLATFORM)" "FreeBSD"
|
||||
prepare: $(APPNAME)
|
||||
rm -fr $(BASE_DIR)/Setup/FreeBSD/usr
|
||||
mkdir -p $(BASE_DIR)/Setup/FreeBSD/usr/bin
|
||||
mkdir -p $(BASE_DIR)/Setup/FreeBSD/usr/share/$(APPNAME)/doc/HTML
|
||||
mkdir -p $(BASE_DIR)/Setup/FreeBSD/usr/share/doc/$(APPNAME)/HTML
|
||||
cp $(BASE_DIR)/Main/$(APPNAME) $(BASE_DIR)/Setup/FreeBSD/usr/bin/$(APPNAME)
|
||||
cp $(BASE_DIR)/Setup/Linux/$(APPNAME)-uninstall.sh $(BASE_DIR)/Setup/FreeBSD/usr/bin/$(APPNAME)-uninstall.sh
|
||||
chmod +x $(BASE_DIR)/Setup/FreeBSD/usr/bin/$(APPNAME)-uninstall.sh
|
||||
cp $(BASE_DIR)/License.txt $(BASE_DIR)/Setup/FreeBSD/usr/share/$(APPNAME)/doc/License.txt
|
||||
cp $(BASE_DIR)/../doc/html/* "$(BASE_DIR)/Setup/FreeBSD/usr/share/$(APPNAME)/doc/HTML"
|
||||
cp $(BASE_DIR)/License.txt $(BASE_DIR)/Setup/FreeBSD/usr/share/doc/$(APPNAME)/License.txt
|
||||
cp $(BASE_DIR)/../doc/html/* "$(BASE_DIR)/Setup/FreeBSD/usr/share/doc/$(APPNAME)/HTML"
|
||||
|
||||
ifndef TC_NO_GUI
|
||||
mkdir -p $(BASE_DIR)/Setup/FreeBSD/usr/share/applications
|
||||
|
@ -6,6 +6,7 @@ rm -f /usr/bin/veracrypt
|
||||
rm -f /usr/share/applications/veracrypt.desktop
|
||||
rm -f /usr/share/pixmaps/veracrypt.xpm
|
||||
rm -fr /usr/share/veracrypt
|
||||
rm -fr /usr/share/doc/veracrypt
|
||||
|
||||
echo VeraCrypt uninstalled.
|
||||
rm -f /usr/bin/veracrypt-uninstall.sh
|
||||
|
@ -6,6 +6,7 @@ rm -f /usr/bin/veracrypt
|
||||
rm -f /usr/share/applications/veracrypt.desktop
|
||||
rm -f /usr/share/pixmaps/veracrypt.xpm
|
||||
rm -fr /usr/share/veracrypt
|
||||
rm -fr /usr/share/doc/veracrypt
|
||||
|
||||
echo VeraCrypt uninstalled.
|
||||
rm -f /usr/bin/veracrypt-uninstall.sh
|
||||
|
Loading…
Reference in New Issue
Block a user