diff options
author | nirav <nirav@teisuu.com> | 2018-09-09 19:52:58 +0530 |
---|---|---|
committer | Dandelion <nirav@teisuu.com> | 2018-09-10 01:50:10 +0530 |
commit | ff5c3f5ac19a8cf4d4e6fa6a3e4541f3d8d71102 (patch) | |
tree | 8d0febeb20d4ea4ab67fc78f78b4773e4af99e62 /Makefile | |
parent | 0e18c9651e8a2f01a8ca3fe0fda7c7db7832d5dc (diff) | |
download | im-ff5c3f5ac19a8cf4d4e6fa6a3e4541f3d8d71102.tar.gz im-ff5c3f5ac19a8cf4d4e6fa6a3e4541f3d8d71102.zip |
Added manual, updated makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -6,8 +6,9 @@ CFLAGS+=-Wall -Wextra -Wno-unused-parameter CFLAGS+=$(shell pkg-config --cflags gtk+-3.0) LDFLAGS+=$(shell pkg-config --libs gtk+-3.0) PREFIX?=/usr -BINDIR=$(PREFIX)/bin -APPDIR=$(PREFIX)/share/applications +BINDIR?=$(PREFIX)/bin +APPDIR?=$(PREFIX)/share/applications +MANDIR?=$(PREFIX)/share/man/man1 SRCDIR=src OUTDIR=build @@ -33,9 +34,11 @@ clean: install: qwe qwe.desktop $(INSTALL) -m0755 qwe $(BINDIR) $(INSTALL) -m0644 qwe.desktop $(APPDIR)/qwe.desktop + $(INSTALL) -m0444 doc/qwe.1 $(MANDIR)/qwe.1 uninstall: - rm -rf $(BINDIR)/qwe - rm -rf $(APPDIR)/qwe.desktop + rm -f $(BINDIR)/qwe + rm -f $(APPDIR)/qwe.desktop + rm -f $(MANDIR)/qwe.1 .PHONY: all clean install uninstall |