From aa29b8dd8ca5d2a9f67f3e423367f81f9429e39f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 16 Mar 2015 19:31:45 +0100 Subject: add examples: localutcclock, anytzclock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 661d702..1520819 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,8 @@ PLUGIN_EXAMPLES = chase clock cpu cpuinfo cpuonline df discstats \ dentrystate inodestate files tzclock ropty ping \ inotify +TRICK_EXAMPLES = localutcclock anytzclock + EXAMPLES = mixed moderate test xmonad @@ -86,13 +88,18 @@ install-license: COPYING LICENSE.gpl3 LICENSE.agpl3 install -m644 $^ -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)" .PHONY: install-all-examples -install-all-examples: install-examples install-plugin-examples +install-all-examples: install-examples install-trick-examples install-plugin-examples .PHONY: install-examples install-examples: $(foreach F,$(EXAMPLES),examples/$(F)) install -dm755 -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples" install -m644 $^ -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples" +.PHONY: install-trick-examples +install-trick-examples: $(foreach F,$(EXAMPLES),examples/tricks/$(F)) + install -dm755 -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples/tricks" + install -m644 $^ -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples/tricks" + .PHONY: install-plugin-examples install-plugin-examples: $(foreach F,$(PLUGIN_EXAMPLES),examples/plugins/$(F)) install -dm755 -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples/plugins" @@ -115,6 +122,8 @@ uninstall: -rmdir -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)" -rm -- $(foreach F,$(PLUGIN_EXAMPLES),"$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples/plugins/$(F)") -rmdir -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples/plugins" + -rm -- $(foreach F,$(TRICK_EXAMPLES),"$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples/tricks/$(F)") + -rmdir -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples/tricks" -rm -- $(foreach F,$(EXAMPLES),"$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples/$(F)") -rmdir -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples" -rmdir -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)" -- cgit v1.2.3-70-g09d2