cbb42e3e70
Noted by John Marino by PM
38 lines
1.9 KiB
Text
38 lines
1.9 KiB
Text
--- ./graph/src/Makefile.orig 2009-01-07 19:20:02.000000000 +0100
|
|
+++ ./graph/src/Makefile 2014-07-24 01:02:02.000000000 +0200
|
|
@@ -33,21 +33,21 @@
|
|
$(RM) stats.pl config.ini graph-summary.cgi
|
|
|
|
install_templates:
|
|
- $(INSTALL_DIR) -m 0755 $(TEMPLATEDIR)
|
|
+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(TEMPLATEDIR)
|
|
@for dep in $(TEMPLATES); do \
|
|
- echo $(INSTALL) -m 0644 templates/$$dep $(TEMPLATEDIR)/$$dep; \
|
|
- $(INSTALL) -m 0644 templates/$$dep $(TEMPLATEDIR)/$$dep; \
|
|
+ echo $(INSTALL) -m 0644 templates/$$dep $(DESTDIR)$(TEMPLATEDIR)/$$dep; \
|
|
+ $(INSTALL) -m 0644 templates/$$dep $(DESTDIR)$(TEMPLATEDIR)/$$dep; \
|
|
done
|
|
|
|
install: all install_templates
|
|
- $(INSTALL_DIR) -m 0755 -o $(WEB_USER) $(GRAPH_DATADIR)
|
|
- $(INSTALL_DIR) -m 0755 -o $(STATS_USER) $(RRD_DATADIR)
|
|
- $(INSTALL_DIR) -m 0755 $(WEB_DATADIR)
|
|
- $(INSTALL_DIR) -m 0755 $(CGIDIR)
|
|
- $(INSTALL_DIR) -m 0755 $(ETCDIR)
|
|
- $(INSTALL) -m 0755 stats.pl $(BINDIR)/squidstats.pl
|
|
- $(INSTALL) -m 0755 graph-summary.cgi $(CGIDIR)/graph-summary.cgi
|
|
- $(INSTALL) -m 0644 config.ini $(ETCDIR)/config.ini
|
|
- $(INSTALL) -m 0644 templates.conf $(ETCDIR)/templates.conf
|
|
- $(INSTALL) -m 0644 snmp_monitor.cfg $(ETCDIR)/snmp_monitor.cfg
|
|
- $(INSTALL) -m 0644 graph.css $(WEB_DATADIR)/graph.css
|
|
+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(GRAPH_DATADIR)
|
|
+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(RRD_DATADIR)
|
|
+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(WEB_DATADIR)
|
|
+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(CGIDIR)
|
|
+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(ETCDIR)
|
|
+ $(INSTALL) -m 0755 stats.pl $(DESTDIR)$(BINDIR)/squidstats.pl
|
|
+ $(INSTALL) -m 0755 graph-summary.cgi $(DESTDIR)$(CGIDIR)/graph-summary.cgi
|
|
+ $(INSTALL) -m 0644 config.ini $(DESTDIR)$(ETCDIR)/config.ini
|
|
+ $(INSTALL) -m 0644 templates.conf $(DESTDIR)$(ETCDIR)/templates.conf
|
|
+ $(INSTALL) -m 0644 snmp_monitor.cfg $(DESTDIR)$(ETCDIR)/snmp_monitor.cfg
|
|
+ $(INSTALL) -m 0644 graph.css $(DESTDIR)$(WEB_DATADIR)/graph.css
|