]> Softwares of Agnibho - imagecap.git/blob - Makefile
Use zenity to edit text
[imagecap.git] / Makefile
1 SHELL = /bin/sh
2
3 prefix = /usr/local
4 exec_prefix = $(prefix)
5 bindir = $(exec_prefix)/bin
6 datarootdir = $(prefix)/share
7 datadir = $(datarootdir)
8 appdir = $(datadir)/applications
9
10 INSTALL = install -vb
11 INSTALL_DIR = $(INSTALL) -d
12 INSTALL_PROGRAM = $(INSTALL) -m 755
13
14 all:
15 @echo "Run 'make install' for installation."
16 @echo "Run 'make uninstall' for uninstallation."
17
18 install:
19 $(INSTALL_DIR) $(DESTDIR)$(bindir)
20 $(INSTALL_DIR) $(DESTDIR)$(appdir)
21 $(INSTALL_PROGRAM) imagecap $(DESTDIR)$(bindir)
22 $(INSTALL_PROGRAM) imagecap.desktop $(DESTDIR)$(appdir)
23
24 uninstall:
25 rm $(DESTDIR)$(bindir)/imagecap
26 rm $(DESTDIR)$(appdir)/imagecap.desktop