aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-11-28 12:09:41 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-11-28 12:09:41 +0100
commit7148c0b2dd20f9ec58304ed6ab154e901dba1bea (patch)
tree50648e91513b74c4ef7ba23b9b851c61c6fbfbc8 /Makefile
parentb66003a3cae3adad2183bbc010a3a28664323024 (diff)
downloadcqrlogo-7148c0b2dd20f9ec58304ed6ab154e901dba1bea.tar.gz
cqrlogo-7148c0b2dd20f9ec58304ed6ab154e901dba1bea.tar.zst
add configuration file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 034aff7..82cdbde 100644
--- a/Makefile
+++ b/Makefile
@@ -11,9 +11,10 @@ SED := sed
GREP := grep
FILE := file
CFLAGS += -O2 -Wall -Werror
-CFLAGS += $(shell pkg-config --cflags --libs libpng) \
- $(shell pkg-config --cflags --libs zlib) \
- $(shell pkg-config --cflags --libs libqrencode)
+CFLAGS += -liniparser
+CFLAGS += $(shell pkg-config --cflags --libs libpng)
+CFLAGS += $(shell pkg-config --cflags --libs zlib)
+CFLAGS += $(shell pkg-config --cflags --libs libqrencode)
VERSION := $(shell git describe --tags --long 2>/dev/null)
# this is just a fallback in case you do not use git but downloaded
# a release tarball...
@@ -42,6 +43,7 @@ install: install-bin install-doc
install-bin: cqrlogo
$(INSTALL) -D -m0755 cqrlogo $(DESTDIR)$(PREFIX)/share/webapps/cqrlogo/cqrlogo
+ $(INSTALL) -D -m0644 cqrlogo.conf $(DESTDIR)/etc/cqrlogo.conf
install-doc: README.html cqrlogo.png
$(INSTALL) -D -m0644 README.md $(DESTDIR)$(PREFIX)/share/doc/cqrlogo/README.md