From c7c6b967e55504e6fcdddc894b26fea548695ad3 Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Mon, 10 Aug 2015 01:22:53 +0300 Subject: [PATCH] Update installation instructions Update the INSTALL file with updated instructions for using the Makefile. --- INSTALL | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/INSTALL b/INSTALL index fc1e81d..d1bc0cd 100644 --- a/INSTALL +++ b/INSTALL @@ -1,17 +1,24 @@ Installation ------------- +============ To install, just run: - ./install.sh + make -as root. You can set DESTDIR to change the installation target: +followed by: - DESTDIR=/my/custom/installation/target ./install.sh + make install + +as root. You can set DESTDIR to change the installation target and +PREFIX to set the installation prefix (default is /usr/local): + + make install DESTDIR=/my/custom/installation/target PREFIX=/usr Uninstallation --------------- +============== + To remove, you can just: - rm /usr/bin/xdgmenumaker - rm /usr/share/desktop-directories/xdgmenumaker* + make uninstall + +and you can also set DESTDIR and PREFIX accordingly.