Project

General

Profile

« Previous | Next » 

Revision f723f5b3

Added by Hamish Coleman over 17 years ago

  • ID f723f5b329dbc37171640d6a42205b26e3dd9add

Support installing on standard debian, add links to other versions

View differences:

Makefile
#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
all:
@echo error
false
install:
install mrtg.cgi $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ua.js $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ftiens4.js $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ftv2folderopen.gif $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ftv2vertline.gif $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ftv2mlastnode.gif $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ftv2mnode.gif $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ftv2plastnode.gif $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ftv2pnode.gif $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ftv2blank.gif $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ftv2lastnode.gif $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ftv2node.gif $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ftv2folderclosed.gif $(DESTDIR)/usr/share/WWW/mrtg/
install Treeview/ftv2doc.gif $(DESTDIR)/usr/share/WWW/mrtg/
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 mrtg.cgi $(DESTDIR)/usr/share/WWW/mrtg/mrtg1.cgi
test: install_treeview
install mrtg.cgi $(DESTDIR)$(WWW)/mrtg1.cgi

Also available in: Unified diff