Skip to content

Commit

Permalink
Use wildcard for install changelogs.
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Feb 23, 2014
1 parent fdc9be2 commit f1bc221
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions changelogs/Makefile
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
#!/usr/bin/make -f

include ../i-nex.mk

CHANGELOG_FILES=$(wildcard changelog-*)
install: install-changelogs compress-changelogs

install-changelogs:

@echo -e '\033[1;32mInstalling Changelogs...\033[0m'
install -Dm644 changelog-0.4.6 "$(DESTDIR)$(PREFIX)$(DOCSDIR)/changelog-0.4.6"
install -Dm644 changelog-0.4.8 "$(DESTDIR)$(PREFIX)$(DOCSDIR)/changelog-0.4.8"
install -Dm644 changelog-0.4.8.1 "$(DESTDIR)$(PREFIX)$(DOCSDIR)/changelog-0.4.8.1"
install -Dm644 changelog-0.5.0 "$(DESTDIR)$(PREFIX)$(DOCSDIR)/changelog-0.5.0"
install -Dm644 changelog-0.5.1 "$(DESTDIR)$(PREFIX)$(DOCSDIR)/changelog-0.5.1"
install -Dm644 changelog-0.5.2 "$(DESTDIR)$(PREFIX)$(DOCSDIR)/changelog-0.5.2"
install -Dm644 changelog-0.5.4 "$(DESTDIR)$(PREFIX)$(DOCSDIR)/changelog-0.5.4"
install -Dm644 changelog-0.5.6 "$(DESTDIR)$(PREFIX)$(DOCSDIR)/changelog-0.5.6"
install -Dm644 changelog-0.5.8 "$(DESTDIR)$(PREFIX)$(DOCSDIR)/changelog-0.5.8"
install -Dm644 changelog-0.6.0 "$(DESTDIR)$(PREFIX)$(DOCSDIR)/changelog-0.6.0"
install -Dm644 changelog-0.6.2 "$(DESTDIR)$(PREFIX)$(DOCSDIR)/changelog-0.6.2"
mkdir -p $(DESTDIR)$(PREFIX)$(DOCSDIR)/
install -Dm644 $(CHANGELOG_FILES) $(DESTDIR)$(PREFIX)$(DOCSDIR)/

compress-changelogs:
@echo -e '\033[1;32mCompress Changelogs...\033[0m'
Expand Down

0 comments on commit f1bc221

Please sign in to comment.