diff options
| author | nirav <nirav@teisuu.com> | 2018-10-23 20:29:45 +0530 | 
|---|---|---|
| committer | Dandelion <nirav@teisuu.com> | 2018-10-23 22:08:02 +0530 | 
| commit | ca25381b691a235aa0396e7e2ab5d9a8256dcbbd (patch) | |
| tree | 9911e49aff48785561b0b8b9487fc3600713427e | |
| parent | 0be27c8d553e66706b477b3b65c8e8de9e8bc9f8 (diff) | |
| download | im-ca25381b691a235aa0396e7e2ab5d9a8256dcbbd.tar.gz im-ca25381b691a235aa0396e7e2ab5d9a8256dcbbd.zip | |
Updated makefile
| -rw-r--r-- | Makefile | 13 | 
1 files changed, 7 insertions, 6 deletions
| @@ -7,6 +7,7 @@ CFLAGS?=-o2 -pipe  CFLAGS+=-Wall -Wextra -Wno-unused-parameter  CFLAGS+=$(shell $(PKGCONFIG) --cflags gtk+-3.0)  LDFLAGS+=$(shell $(PKGCONFIG) --libs gtk+-3.0) +DESTDIR?=  PREFIX?=/usr/local  BINDIR?=$(PREFIX)/bin  APPDIR?=$(PREFIX)/share/applications @@ -40,13 +41,13 @@ clean:  	rm -rf $(SRCDIR)/resources.c  install: qwe qwe.desktop -	$(INSTALL) -m0755 qwe $(BINDIR) -	$(INSTALL) -m0644 qwe.desktop $(APPDIR)/qwe.desktop -	$(INSTALL) -m0444 doc/qwe.1 $(MANDIR)/qwe.1 +	$(INSTALL) -Dm0755 qwe $(DESTDIR)$(BINDIR)/qwe +	$(INSTALL) -Dm0644 qwe.desktop $(DESTDIR)$(APPDIR)/qwe.desktop +	$(INSTALL) -Dm0644 doc/qwe.1 $(DESTDIR)$(MANDIR)/qwe.1  uninstall: -	rm -f $(BINDIR)/qwe -	rm -f $(APPDIR)/qwe.desktop -	rm -f $(MANDIR)/qwe.1 +	rm -f $(DESTDIR)$(BINDIR)/qwe +	rm -f $(DESTDIR)$(APPDIR)/qwe.desktop +	rm -f $(DESTDIR)$(MANDIR)/qwe.1  .PHONY: all clean install uninstall | 
