summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-02-24 14:22:29 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-02-24 14:22:29 +0100
commit0f32341ead4f1534270a82c4372d84a1aaa9b0cd (patch)
tree01d4c6b685208da529b968b8e6d804285f812341 /Makefile
parent02502029871d055ecf02dbc172b1f450e0a09e2a (diff)
downloadcqrlogo-0f32341ead4f1534270a82c4372d84a1aaa9b0cd.tar.gz
cqrlogo-0f32341ead4f1534270a82c4372d84a1aaa9b0cd.tar.zst
we have no static content, so install to /usr/lib/cqrlogo
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 19c5969..9e29586 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
# cqrlogo - CGI QR-Code logo for web services
PREFIX := /usr
+LIBDIR := $(PREFIX)/lib
APACHECONF := /etc/apache/conf/extra/
LIGHTTPDCONF := /etc/lighttpd/conf.d/
CC := gcc
@@ -48,8 +49,8 @@ cqrlogo.png: cqrlogo.cgi
install: install-bin install-config install-doc
install-bin: cqrlogo.cgi cqrlogo.fcgi
- $(INSTALL) -D -m0755 cqrlogo.cgi $(DESTDIR)$(PREFIX)/share/webapps/cqrlogo/cqrlogo.cgi
- $(INSTALL) -D -m0755 cqrlogo.fcgi $(DESTDIR)$(PREFIX)/share/webapps/cqrlogo/cqrlogo.fcgi
+ $(INSTALL) -D -m0755 cqrlogo.cgi $(DESTDIR)$(LIBDIR)/cqrlogo/cqrlogo.cgi
+ $(INSTALL) -D -m0755 cqrlogo.fcgi $(DESTDIR)$(LIBDIR)/cqrlogo/cqrlogo.fcgi
$(INSTALL) -D -m0644 cqrlogo.conf $(DESTDIR)/etc/cqrlogo.conf
install-config: config/apache.conf config/lighttpd.conf