From 5a12f7a502f0b3b3bfbae24b75a0d53e72c53d0e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 21 Aug 2013 13:48:07 +0200 Subject: split install to install-bin and install-doc --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2