Commit e7a1a897 authored by Kirk Webb's avatar Kirk Webb
Browse files

Install PhantomNet stuff.

parent e3152424
......@@ -161,6 +161,10 @@ BOOTSTJS = $(wildcard $(SRCDIR)/aptui/bootstrap/js/*)
HELPERSCSS = $(wildcard $(SRCDIR)/aptui/formhelpers/css/*)
HELPERSJS = $(wildcard $(SRCDIR)/aptui/formhelpers/js/*)
PNETFILES = $(wildcard $(SRCDIR)/pnet/*.php)
PNETFILES += $(wildcard $(SRCDIR)/pnet/*.html)
PNETFILES += $(SRCDIR)/pnet/php.ini
# need to make it *.gz; with simply "*",
# we end up sucking over "CVS"
DOWNLOADFILES = $(wildcard $(SRCDIR)/downloads/*.gz)
......@@ -227,6 +231,7 @@ ALLBOOTSTCSS = $(notdir $(BOOTSTCSS))
ALLBOOTSTJS = $(notdir $(BOOTSTJS))
ALLHELPCSS = $(notdir $(HELPERSCSS))
ALLHELPJS = $(notdir $(HELPERSJS))
ALLPNET = $(notdir $(PNETFILES))
INSTALLFILES = $(addprefix $(INSTALL_SBINDIR)/, htmlinstall) \
$(addprefix $(INSTALL_WWWDIR)/, $(ALLFILES)) \
......@@ -253,7 +258,7 @@ INSTALLFILES = $(addprefix $(INSTALL_SBINDIR)/, htmlinstall) \
$(INSTALL_WWWDIR)/wikidocs/wiki/ignore.html \
$(INSTALL_WWWDIR)/doc/LICENSE.txt
install: $(INSTALLFILES) apt-install
install: $(INSTALLFILES) apt-install pnet-install
-mkdir -p $(INSTALL_WWWDIR)/wikidocs/wiki
cd $(INSTALL_WWWDIR) && \
rm -f tbdb.html; \
......@@ -278,6 +283,8 @@ apt-install: $(addprefix $(INSTALL_WWWDIR)/apt/, $(ALLAPTUI)) \
$(addprefix $(INSTALL_WWWDIR)/apt/formhelpers/css/, $(ALLHELPCSS)) \
$(addprefix $(INSTALL_WWWDIR)/apt/formhelpers/js/, $(ALLHELPJS))
pnet-install: $(addprefix $(INSTALL_WWWDIR)/pnet/, $(ALLPNET))
post-install:
boss-install: install
......@@ -312,6 +319,16 @@ $(INSTALL_WWWDIR)/aptb/%: aptuib/%
-mkdir -p $(patsubst %/,%,$(dir $@))
$(INSTALL_DATA) $(subst $$,\$$,$<) $(subst $$,\$$,$@)
$(INSTALL_WWWDIR)/pnet/%.html: pnet/%.html htmlinstall
@echo "Installing $<"
-mkdir -p $(patsubst %/,%,$(dir $@))
$(HTMLINSTALL) $(subst $$,\$$,$<) $(subst $$,\$$,$@)
$(INSTALL_WWWDIR)/pnet/%: pnet/%
@echo "Installing $<"
-mkdir -p $(patsubst %/,%,$(dir $@))
$(INSTALL_DATA) $(subst $$,\$$,$<) $(subst $$,\$$,$@)
$(INSTALL_DIR)/opsdir/www/%.html: %.html htmlinstall
@echo "Installing $<"
-mkdir -p $(patsubst %/,%,$(dir $@))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment