Project

General

Profile

Download (1.06 KB) Statistics
| Branch: | Revision:

#DESTDIR := /
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
WWW := $(WWW_PERIL)

all:
@echo error
false

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)/

test: install_treeview
install mrtg.cgi $(DESTDIR)$(WWW)/mrtg1.cgi
install gnuplot.cgi $(DESTDIR)$(WWW)/gnuplot1.cgi

(1-1/5)