root/Makefile @ fc832040
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
|
|||
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
|