Project

General

Profile

Download (1.06 KB) Statistics
| Branch: | Revision:
a804e749 Hamish Coleman
#DESTDIR := /
f723f5b3 Hamish Coleman
WWW_PERIL := /usr/share/WWW/mrtg
WWW_DEBIAN := /var/www/mrtg

ifeq ($(test -d $(WWW_PERIL) && echo yes),yes)
WWW := $(WWW_PERIL)
else
WWW := $(WWW_DEBIAN)
endif
af3a7f97 Hamish Coleman
WWW := $(WWW_PERIL)
a804e749 Hamish Coleman
all:
@echo error
false

f723f5b3 Hamish Coleman
install_treeview:
install Treeview/ua.js $(DESTDIR)$(WWW)/
install Treeview/ftiens4.js $(DESTDIR)$(WWW)/
install Treeview/ftv2folderopen.gif $(DESTDIR)$(WWW)/
install Treeview/ftv2vertline.gif $(DESTDIR)$(WWW)/
install Treeview/ftv2mlastnode.gif $(DESTDIR)$(WWW)/
install Treeview/ftv2mnode.gif $(DESTDIR)$(WWW)/
install Treeview/ftv2plastnode.gif $(DESTDIR)$(WWW)/
install Treeview/ftv2pnode.gif $(DESTDIR)$(WWW)/
install Treeview/ftv2blank.gif $(DESTDIR)$(WWW)/
install Treeview/ftv2lastnode.gif $(DESTDIR)$(WWW)/
install Treeview/ftv2node.gif $(DESTDIR)$(WWW)/
install Treeview/ftv2folderclosed.gif $(DESTDIR)$(WWW)/
install Treeview/ftv2doc.gif $(DESTDIR)$(WWW)/

install: install_treeview
install mrtg.cgi $(DESTDIR)$(WWW)/
a804e749 Hamish Coleman
f723f5b3 Hamish Coleman
test: install_treeview
install mrtg.cgi $(DESTDIR)$(WWW)/mrtg1.cgi
4c43b11f Hamish Coleman
install gnuplot.cgi $(DESTDIR)$(WWW)/gnuplot1.cgi