Skip to content

Commit

Permalink
Fixes #43
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Sep 27, 2016
1 parent dc9d1a6 commit 3967f95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
8 changes: 1 addition & 7 deletions changelogs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,9 @@ include ../i-nex.mk

CHANGELOG_FILES=$(wildcard changelog-*)

install: install-changelogs compress-changelogs

install: install-changelogs
install-changelogs:

@echo -e '\033[1;32mInstalling Changelogs...\033[0m'
mkdir -p $(DESTDIR)$(PREFIX)$(DOCSDIR)
install -Dm644 $(CHANGELOG_FILES) $(DESTDIR)$(PREFIX)$(DOCSDIR)

compress-changelogs:

@echo -e '\033[1;32mCompress Changelogs...\033[0m'
${COMPRESS} $(DESTDIR)$(PREFIX)$(DOCSDIR)/changelog-*
12 changes: 1 addition & 11 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#!/usr/bin/make -f
include ../i-nex.mk
install: install-doc compress-doc
install: install-doc

install-doc: install_copyright \
install_i_nex_LICENSE \
install_Pastebinit_LICENSE

compress-doc: compress_i_nex_LICENSE \
compress_Pastebinit_LICENSE

install_copyright:
@echo -e '\033[1;32mCreate directory...\033[0m'
${MKDIR_P} $(DESTDIR)$(PREFIX)$(DOCSDIR)
Expand All @@ -24,10 +21,3 @@ install_Pastebinit_LICENSE:
${MKDIR_P} $(DESTDIR)$(PREFIX)$(DOCSDIR)
@echo -e '\033[1;32mInstalling Docs Pastebinit.LICENSE...\033[0m'
${INSTALL_DM}644 Pastebinit.LICENSE "$(DESTDIR)$(PREFIX)$(DOCSDIR)/Pastebinit.LICENSE"

compress_i_nex_LICENSE:
@echo -e '\033[1;32mCompress Docs I-Nex.LICENSE...\033[0m'
${COMPRESS} "$(DESTDIR)$(PREFIX)$(DOCSDIR)/I-Nex.LICENSE"
compress_Pastebinit_LICENSE:
@echo -e '\033[1;32mCompress Docs Pastebinit.LICENSE...\033[0m'
${COMPRESS} "$(DESTDIR)$(PREFIX)$(DOCSDIR)/Pastebinit.LICENSE"

0 comments on commit 3967f95

Please sign in to comment.