Index: Makefile =================================================================== --- Makefile (revision 290) +++ Makefile (revision 291) @@ -1,7 +1,25 @@ ROOT=.. +include $(ROOT)/Makefile.conf + +DOCDIR=$(install_root)$(DESTDIR)$(PREFIX)/share/doc + all: *.html + @echo -n "HTMLS=" > Makefile.list + @ls *.html | grep -v Autostyle.html | tr "\n" " " >> Makefile.list + @echo "" >> Makefile.list ROOT="" ./Autostyle.sh *.html include ../Makefile.conf +include Makefile.list +install: + mkdir -p $(DOCDIR) + $(CP) $(HTMLS) $(DOCDIR) + +linstall: + mkdir -p $(DOCDIR) + for n in $(HTMLS); do $(LN) $(PWD)/$$n $(DOCDIR)/$$n; done + +uninstall: + $(RM) $(DOCDIR)/*.html Index: Makefile.list =================================================================== --- Makefile.list (nonexistent) +++ Makefile.list (revision 291) @@ -0,0 +1 @@ +HTMLS=contact.html index.html irc.html license.html support.html