]> git.sesse.net Git - cubemap/commitdiff
Make the install target install the Munin plugins.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 18 Aug 2013 09:52:21 +0000 (11:52 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 18 Aug 2013 09:52:21 +0000 (11:52 +0200)
Makefile

index 7269a4f820310e1fc008887eb10514787b62ec7a..a0b5f50690300c299b499c63d978c01f9339fe84 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,8 +27,9 @@ clean:
 
 PREFIX=/usr/local
 install:
-       $(INSTALL) -m 755 -o root -g root -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1 $(DESTDIR)/etc $(DESTDIR)/var/lib/cubemap $(DESTDIR)/var/log/cubemap
+       $(INSTALL) -m 755 -o root -g root -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1 $(DESTDIR)/etc $(DESTDIR)/var/lib/cubemap $(DESTDIR)/var/log/cubemap $(DESTDIR)$(PREFIX)/share/munin/plugins
        $(INSTALL) -m 755 -o root -g root cubemap $(DESTDIR)$(PREFIX)/bin/cubemap
+       $(INSTALL) -m 755 -o root -g root munin/cubemap munin/cubemap_input $(DESTDIR)$(PREFIX)/share/munin/plugins/
        sed \
                -e 's,cubemap\.stats,/var/lib/cubemap/\0,g' \
                -e 's,cubemap-input\.stats,/var/lib/cubemap/\0,g' \