aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-08-21 13:48:07 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-08-21 13:48:07 +0200
commit5a12f7a502f0b3b3bfbae24b75a0d53e72c53d0e (patch)
tree359ce3fd62eb93ff8f683c9164f0ac8fb6a1c95a
parent6633c129a271b45dab908816293668e4077f17fc (diff)
downloadcqrlogo-5a12f7a502f0b3b3bfbae24b75a0d53e72c53d0e.tar.gz
cqrlogo-5a12f7a502f0b3b3bfbae24b75a0d53e72c53d0e.tar.zst
split install to install-bin and install-doc
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4ca73a6..680f5eb 100644
--- a/Makefile
+++ b/Makefile
@@ -32,8 +32,12 @@ cqrlogo.png: cqrlogo
QUERY_STRING='scale=4' \
./cqrlogo | $(SED) '1,/^$$/d' > cqrlogo.png
-install: cqrlogo README.html cqrlogo.png
+install: install-bin install-doc
+
+install-bin: cqrlogo
$(INSTALL) -D -m0755 cqrlogo $(DESTDIR)/usr/share/webapps/cqrlogo/cqrlogo
+
+install-doc: README.html cqrlogo.png
$(INSTALL) -D -m0644 README.md $(DESTDIR)/usr/share/doc/cqrlogo/README.md
$(INSTALL) -D -m0644 README.html $(DESTDIR)/usr/share/doc/cqrlogo/README.html
$(INSTALL) -D -m0644 cqrlogo.png $(DESTDIR)/usr/share/doc/cqrlogo/cqrlogo.png