summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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