aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYour Name <you@example.com>2022-08-11 10:44:43 -0400
committerYour Name <you@example.com>2022-08-11 10:44:43 -0400
commit0f69886f77696c34c3093b981950dc194e4ecd18 (patch)
treeb5e61a0a4851a653e6433206ce472c8d6bb5e278 /Makefile
parentbe36d1b0559b7968166062cd35d809f48faefe41 (diff)
downloadbiblereader-0f69886f77696c34c3093b981950dc194e4ecd18.tar.gz
biblereader-0f69886f77696c34c3093b981950dc194e4ecd18.tar.bz2
biblereader-0f69886f77696c34c3093b981950dc194e4ecd18.zip
Converted some directory variables to lower case to match libbiblev1.0.7
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 9c9eb08..30aa5f5 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,9 @@ SOURCES=$(wildcard src/*.cc)
OBJECTS=$(SOURCES:.cc=.o)
DEPS = $(OBJECTS:.o=.d)
EXECUTABLE=biblereader
-PREFIX ?= /usr
-EXEC_PREFIX ?= $(PREFIX)
-BINDIR ?= $(EXEC_PREFIX)/bin
+prefix ?= /usr
+exec_prefix ?= $(prefix)
+bindir ?= $(exec_prefix)/bin
$(EXECUTABLE): $(OBJECTS)
$(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
@@ -15,14 +15,14 @@ $(EXECUTABLE): $(OBJECTS)
-include $(DEPS)
install: $(EXECUTABLE)
- install -d $(DESTDIR)$(BINDIR)
- install -m 755 $(EXECUTABLE) $(DESTDIR)$(BINDIR)
- install -d $(DESTDIR)$(PREFIX)/share/applications/
- install -m 644 files/biblereader.desktop $(DESTDIR)$(PREFIX)/share/applications/
- install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/
- install -m 644 files/biblereader_128.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/biblereader.png
- install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps/
- install -m 644 files/biblereader_64.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps/biblereader.png
+ install -d $(DESTDIR)$(bindir)
+ install -m 755 $(EXECUTABLE) $(DESTDIR)$(bindir)
+ install -d $(DESTDIR)$(prefix)/share/applications/
+ install -m 644 files/biblereader.desktop $(DESTDIR)$(prefix)/share/applications/
+ install -d $(DESTDIR)$(prefix)/share/icons/hicolor/128x128/apps/
+ install -m 644 files/biblereader_128.png $(DESTDIR)$(prefix)/share/icons/hicolor/128x128/apps/biblereader.png
+ install -d $(DESTDIR)$(prefix)/share/icons/hicolor/64x64/apps/
+ install -m 644 files/biblereader_64.png $(DESTDIR)$(prefix)/share/icons/hicolor/64x64/apps/biblereader.png
.PHONY: clean
clean: