Skip to content

Commit

Permalink
Add Compress Docs colored
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Feb 7, 2014
1 parent 4b16eef commit fb6957c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#!/usr/bin/make -f
VERSION = $(shell grep 'Version=' ../src/i-nex/.project | cut -d '=' -f 2)
PN = i-nex

PREFIX ?= /usr
DOCDIR = $(PREFIX)/share/doc/$(PN)-$(VERSION)

include ../i-nex.mk
create-dir:
@echo -e '\033[1;32mCreate directory...\033[0m'
mkdir -p $(DESTDIR)$(DOCDIR)
Expand All @@ -14,6 +9,7 @@ install-doc:
install -Dm644 copyright "$(DESTDIR)$(DOCDIR)/copyright"
install -Dm644 I-Nex.LICENSE "$(DESTDIR)$(DOCDIR)/I-Nex.LICENSE"
install -Dm644 Pastebinit.LICENSE "$(DESTDIR)$(DOCDIR)/Pastebinit.LICENSE"
@echo -e '\033[1;32mCompress Docs...\033[0m'
gzip -9 "$(DESTDIR)$(DOCDIR)/copyright"
gzip -9 "$(DESTDIR)$(DOCDIR)/I-Nex.LICENSE"
gzip -9 "$(DESTDIR)$(DOCDIR)/Pastebinit.LICENSE"
Expand Down

0 comments on commit fb6957c

Please sign in to comment.