edgebsd
OBJDIR =
PREFIX = /usr/local
DESTDIR =
MKDIR = mkdir -m 0755 -p
INSTALL = install
RM = rm -f
TARGETS = $(OBJDIR)nvmm-xl.8 $(OBJDIR)nvmm-xl.html
RM = rm -f
LN = ln -f
MKDIR = mkdir -m 0755 -p
INSTALL = install
all: $(TARGETS)
$(OBJDIR)nvmm-xl.8: docbook.sh nvmm-xl.xml
./docbook.sh -P "$(PREFIX)" -- "$(OBJDIR)nvmm-xl.8"
$(OBJDIR)nvmm-xl.html: docbook.sh nvmm-xl.css.xml nvmm-xl.xml manual.css.xml
./docbook.sh -P "$(PREFIX)" -- "$(OBJDIR)nvmm-xl.html"
clean:
./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)nvmm-xl.8"
./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)nvmm-xl.html"
distclean: clean
$(RM) -- $(TARGETS)
install: all
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)nvmm-xl.8"
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)nvmm-xl.html"
$(MKDIR) $(DESTDIR)$(PREFIX)/share/doc/edgebsd-nvmm
$(INSTALL) -m 0644 host.conf $(DESTDIR)$(PREFIX)/share/doc/edgebsd-nvmm/host.conf
$(MKDIR) $(DESTDIR)$(PREFIX)/share/doc/edgebsd-nvmm
$(INSTALL) -m 0644 template.netbsd.amd64 $(DESTDIR)$(PREFIX)/share/doc/edgebsd-nvmm/template.netbsd.amd64
uninstall:
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "nvmm-xl.8"
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "nvmm-xl.html"
$(RM) -- $(DESTDIR)$(PREFIX)/share/doc/edgebsd-nvmm/host.conf
$(RM) -- $(DESTDIR)$(PREFIX)/share/doc/edgebsd-nvmm/template.netbsd.amd64
.PHONY: all clean distclean install uninstall